![]() |
FD.io VPP
v17.07-30-g839fa73
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 |
| struct | snat_ipfix_logging_max_entries_per_user_args_t |
Macros | |
| #define | NAT44_SESSION_CREATE_LEN 26 |
| #define | NAT_ADDRESSES_EXHAUTED_LEN 13 |
| #define | MAX_ENTRIES_PER_USER_LEN 17 |
| #define | NAT44_SESSION_CREATE_FIELD_COUNT 8 |
| #define | NAT_ADDRESSES_EXHAUTED_FIELD_COUNT 3 |
| #define | MAX_ENTRIES_PER_USER_FIELD_COUNT 4 |
Variables | |
| snat_ipfix_logging_main_t | snat_ipfix_logging_main |
| #define MAX_ENTRIES_PER_USER_FIELD_COUNT 4 |
Definition at line 31 of file snat_ipfix_logging.c.
| #define MAX_ENTRIES_PER_USER_LEN 17 |
Definition at line 27 of file snat_ipfix_logging.c.
| #define NAT44_SESSION_CREATE_FIELD_COUNT 8 |
Definition at line 29 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 30 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 708 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_max_entries_per_usr | ( | flow_report_main_t * | frm, |
| flow_report_t * | fr, | ||
| vlib_frame_t * | f, | ||
| u32 * | to_next, | ||
| u32 | node_index | ||
| ) |
Definition at line 743 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 673 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 235 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 427 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 685 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 696 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 763 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 826 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_max_entries_per_user | ( | u32 | src_ip | ) |
Generate maximum entries per user exceeded event.
| src_ip | source IPv4 address |
Definition at line 731 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 512 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 720 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 323 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 619 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 651 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 601 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 281 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 |
| quota_event | NAT quota exceeded event ID |
Definition at line 65 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 201 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_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 | ||
| ) |
Definition at line 223 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 212 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.