Projects STRLCPY 5GReplay Files
🤬
4fba0f1e
ROOT /
src /
engine /
configure_override.h
176 lines | ISO-8859-1 | 6 KB
Outline
  DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )
  DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )(DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )) {...} : DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )
  DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )(DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) ),DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )) {...} : DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )DECLARE_CONF_ATT( (CONF_ATT__NONE, "no-support", NULL, NO_SUPPORT), //general (CONF_ATT__STACK_TYPE, "stack-type", &conf->stack_type, UINT32_T), (CONF_ATT__INPUT__DPDK_OPTION, "dpdk-option", &conf->dpdk_options, CHAR_STAR), //input (CONF_ATT__INPUT__MODE, "input.mode", &conf->input->input_mode, UINT16_T), (CONF_ATT__INPUT__SOURCE, "input.source", &conf->input->input_source, CHAR_STAR), (CONF_ATT__INPUT__SNAP_LEN, "input.snap-len", &conf->input->snap_len, UINT16_T), //output (CONF_ATT__OUTPUT__ENABLE, "output.enable", &conf->output->is_enable, BOOL), (CONF_ATT__OUTPUT__OUTPUT_DIR, "output.output-dir", &conf->output->output_dir, CHAR_STAR), (CONF_ATT__OUTPUT__REPORT_DESCRIPTION,"output.report-description", &conf->output->is_report_description, BOOL), (CONF_ATT__OUTPUT__SAMPLE_INTERVAL, "output.sample-interval", &conf->output->sample_interval, UINT16_T), //engine (CONF_ATT__ENGINE__THREAD_NB, "engine.thread-nb", &conf->engine->threads_size, UINT16_T), (CONF_ATT__ENGINE__EXCLUDE_RULES, "engine.exclude-rules", &conf->engine->excluded_rules, CHAR_STAR), (CONF_ATT__ENGINE__RULES_MASK, "engine.rules-mask", &conf->engine->rules_mask, CHAR_STAR), (CONF_ATT__ENGINE__MAX_INSTANCES, "engine.max-instances", &conf->engine->max_instances, UINT32_T ), (CONF_ATT__MEMPOOL__MAX_MESSAGE_SIZE, "mempool.max-message-size", &conf->mempool->max_message_size, UINT32_T), (CONF_ATT__MEMPOOL__MAX_BYTES, "mempool.max-bytess", &conf->mempool->max_bytes, UINT16_T), (CONF_ATT__MEMPOOL__MAX_ELEMENTS, "mempool.max-elements", &conf->mempool->max_elements, UINT16_T), (CONF_ATT__MEMPOOL__SMP_RING_SIZE, "mempool.smp-ring-size", &conf->mempool->smp_ring_size, UINT32_T ), (CONF_ATT__FORWARD__ENABLE, "forward.enable", &conf->forward->is_enable, BOOL), (CONF_ATT__FORWARD__OUTPUT_NIC,"forward.output-nic", &conf->forward->output_nic, CHAR_STAR), (CONF_ATT__FORWARD__SNAP_LEN, "forward.snap-len", &conf->forward->snap_len, UINT16_T), (CONF_ATT__FORWARD__NB_COPIES, "forward.nb-copies", &conf->forward->nb_copies, UINT32_T), (CONF_ATT__FORWARD__PROMISC, "forward.promisc", &conf->forward->promisc, UINT16_T) )
Please wait...
Page is in error, reload to recover