|
static u8 * | snat_template_rewrite (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, nat_event_t event, quota_exceed_event_t quota_event) |
| Create an IPFIX template packet rewrite string. More...
|
|
u8 * | snat_template_rewrite_addr_exhausted (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
u8 * | snat_template_rewrite_nat44_session (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
u8 * | snat_template_rewrite_max_entries_per_usr (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
u8 * | nat_template_rewrite_max_sessions (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
u8 * | nat_template_rewrite_max_bibs (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
u8 * | nat_template_rewrite_max_frags_ip4 (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
u8 * | nat_template_rewrite_max_frags_ip6 (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
u8 * | nat_template_rewrite_nat64_bib (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
u8 * | nat_template_rewrite_nat64_session (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
static void | snat_ipfix_header_create (flow_report_main_t *frm, vlib_buffer_t *b0, u32 *offset) |
|
static void | snat_ipfix_send (flow_report_main_t *frm, vlib_frame_t *f, vlib_buffer_t *b0, u16 template_id) |
|
static void | snat_ipfix_logging_nat44_ses (u32 thread_index, u8 nat_event, u32 src_ip, u32 nat_src_ip, snat_protocol_t snat_proto, u16 src_port, u16 nat_src_port, u32 vrf_id, int do_flush) |
|
static void | snat_ipfix_logging_addr_exhausted (u32 thread_index, u32 pool_id, int do_flush) |
|
static void | snat_ipfix_logging_max_entries_per_usr (u32 thread_index, u32 limit, u32 src_ip, int do_flush) |
|
static void | nat_ipfix_logging_max_ses (u32 thread_index, u32 limit, int do_flush) |
|
static void | nat_ipfix_logging_max_bib (u32 thread_index, u32 limit, int do_flush) |
|
static void | nat_ipfix_logging_max_frag_ip4 (u32 thread_index, u32 limit, u32 src, int do_flush) |
|
static void | nat_ipfix_logging_max_frag_ip6 (u32 thread_index, u32 limit, ip6_address_t *src, int do_flush) |
|
static void | nat_ipfix_logging_nat64_bibe (u32 thread_index, u8 nat_event, ip6_address_t *src_ip, u32 nat_src_ip, u8 proto, u16 src_port, u16 nat_src_port, u32 vrf_id, int do_flush) |
|
static void | nat_ipfix_logging_nat64_ses (u32 thread_index, u8 nat_event, ip6_address_t *src_ip, u32 nat_src_ip, u8 proto, u16 src_port, u16 nat_src_port, ip6_address_t *dst_ip, u32 nat_dst_ip, u16 dst_port, u16 nat_dst_port, u32 vrf_id, int do_flush) |
|
void | snat_ipfix_flush (u32 thread_index) |
|
void | snat_ipfix_flush_from_main (void) |
|
void | snat_ipfix_logging_nat44_ses_create (u32 thread_index, u32 src_ip, u32 nat_src_ip, snat_protocol_t snat_proto, u16 src_port, u16 nat_src_port, u32 vrf_id) |
| Generate NAT44 session create event. More...
|
|
void | snat_ipfix_logging_nat44_ses_delete (u32 thread_index, u32 src_ip, u32 nat_src_ip, snat_protocol_t snat_proto, u16 src_port, u16 nat_src_port, u32 vrf_id) |
| Generate NAT44 session delete event. More...
|
|
void | snat_ipfix_logging_addresses_exhausted (u32 thread_index, u32 pool_id) |
| Generate NAT addresses exhausted event. More...
|
|
void | snat_ipfix_logging_max_entries_per_user (u32 thread_index, u32 limit, u32 src_ip) |
| Generate maximum entries per user exceeded event. More...
|
|
vlib_frame_t * | deterministic_nat_data_callback (flow_report_main_t *frm, flow_report_t *fr, vlib_frame_t *f, u32 *to_next, u32 node_index) |
|
void | nat_ipfix_logging_max_sessions (u32 thread_index, u32 limit) |
| Generate maximum session entries exceeded event. More...
|
|
void | nat_ipfix_logging_max_bibs (u32 thread_index, u32 limit) |
| Generate maximum BIB entries exceeded event. More...
|
|
void | nat_ipfix_logging_max_fragments_ip4 (u32 thread_index, u32 limit, ip4_address_t *src) |
| Generate maximum IPv4 fragments pending reassembly exceeded event. More...
|
|
void | nat_ipfix_logging_max_fragments_ip6 (u32 thread_index, u32 limit, ip6_address_t *src) |
| Generate maximum IPv6 fragments pending reassembly exceeded event. More...
|
|
void | nat_ipfix_logging_nat64_bib (u32 thread_index, ip6_address_t *src_ip, ip4_address_t *nat_src_ip, u8 proto, u16 src_port, u16 nat_src_port, u32 vrf_id, u8 is_create) |
| Generate NAT64 BIB create and delete events. More...
|
|
void | nat_ipfix_logging_nat64_session (u32 thread_index, ip6_address_t *src_ip, ip4_address_t *nat_src_ip, u8 proto, u16 src_port, u16 nat_src_port, ip6_address_t *dst_ip, ip4_address_t *nat_dst_ip, u16 dst_port, u16 nat_dst_port, u32 vrf_id, u8 is_create) |
| Generate NAT64 session create and delete events. More...
|
|
vlib_frame_t * | data_callback (flow_report_main_t *frm, flow_report_t *fr, vlib_frame_t *f, u32 *to_next, u32 node_index) |
|
int | snat_ipfix_logging_enable_disable (int enable, u32 domain_id, u16 src_port) |
| Enable/disable NAT plugin IPFIX logging. More...
|
|
void | snat_ipfix_logging_init (vlib_main_t *vm) |
| Initialize NAT plugin IPFIX logging. More...
|
|
static uword | ipfix_flush_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|