![]() |
FD.io VPP
v17.04-9-g99c0734
Vector Packet Processing
|
Include dependency graph for snat_ipfix_logging.c:Go to the source code of this file.
Data Structures | |
| struct | snat_ipfix_logging_nat44_ses_args_t |
| struct | snat_ipfix_logging_addr_exhausted_args_t |
Macros | |
| #define | NAT44_SESSION_CREATE_LEN 26 |
| #define | NAT_ADDRESSES_EXHAUTED_LEN 13 |
| #define | NAT44_SESSION_CREATE_FIELD_COUNT 8 |
| #define | NAT_ADDRESSES_EXHAUTED_FIELD_COUNT 3 |
Variables | |
| snat_ipfix_logging_main_t | snat_ipfix_logging_main |
| #define NAT44_SESSION_CREATE_FIELD_COUNT 8 |
Definition at line 28 of file snat_ipfix_logging.c.
| #define NAT44_SESSION_CREATE_LEN 26 |
Definition at line 25 of file snat_ipfix_logging.c.
| #define NAT_ADDRESSES_EXHAUTED_FIELD_COUNT 3 |
Definition at line 29 of file snat_ipfix_logging.c.
| #define NAT_ADDRESSES_EXHAUTED_LEN 13 |
Definition at line 26 of file snat_ipfix_logging.c.
| vlib_frame_t* snat_data_callback_addr_exhausted | ( | flow_report_main_t * | frm, |
| flow_report_t * | fr, | ||
| vlib_frame_t * | f, | ||
| u32 * | to_next, | ||
| u32 | node_index | ||
| ) |
Definition at line 576 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:| vlib_frame_t* snat_data_callback_nat44_session | ( | flow_report_main_t * | frm, |
| flow_report_t * | fr, | ||
| vlib_frame_t * | f, | ||
| u32 * | to_next, | ||
| u32 | node_index | ||
| ) |
Definition at line 541 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 192 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 384 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 553 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void snat_ipfix_logging_addresses_exhausted | ( | u32 | pool_id | ) |
Generate NAT addresses exhausted event.
| pool_id | NAT pool ID |
Definition at line 564 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:Enable/disable SNAT IPFIX logging.
| enable | 1 if enable, 0 if disable |
| domain_id | observation domain ID |
| src_port | source port number |
Definition at line 596 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void snat_ipfix_logging_init | ( | vlib_main_t * | vm | ) |
Initialize SNAT IPFIX logging.
| vm | vlib main |
Definition at line 642 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 280 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void snat_ipfix_logging_nat44_ses_create | ( | 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.
| src_ip | source IPv4 address |
| nat_src_ip | transaltes source IPv4 address |
| snat_proto | SNAT transport protocol |
| src_port | source port |
| nat_src_port | translated source port |
| vrf_id | VRF ID |
Definition at line 487 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void snat_ipfix_logging_nat44_ses_delete | ( | 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.
| src_ip | source IPv4 address |
| nat_src_ip | transaltes source IPv4 address |
| snat_proto | SNAT transport protocol |
| src_port | source port |
| nat_src_port | translated source port |
| vrf_id | VRF ID |
Definition at line 519 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 469 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 238 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Create an IPFIX template packet rewrite string.
| frm | flow report main |
| fr | flow report |
| collector_address | collector address |
| src_address | source address |
| collector_port | collector |
| event | NAT event ID |
Definition at line 58 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
Definition at line 170 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
Definition at line 181 of file snat_ipfix_logging.c.
Here is the call graph for this function:
Here is the caller graph for this function:| snat_ipfix_logging_main_t snat_ipfix_logging_main |
Definition at line 23 of file snat_ipfix_logging.c.