17 #ifndef __included_snat_ipfix_logging_h__ 18 #define __included_snat_ipfix_logging_h__ 61 u16 src_port,
u16 nat_src_port,
65 u16 src_port,
u16 nat_src_port,
vlib_frame_t * addr_exhausted_frame
u16 addr_exhausted_template_id
u8 enabled
S-NAT IPFIX logging enabled.
u32 addr_exhausted_next_record_offset
void snat_ipfix_logging_addresses_exhausted(u32 pool_id)
Generate NAT addresses exhausted event.
vlib_frame_t * nat44_session_frame
frames containing ipfix buffers
u32 stream_index
stream index
u64 milisecond_time_0
Time reference pair.
vlib_buffer_t * nat44_session_buffer
ipfix buffers under construction
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.
int snat_ipfix_logging_enable_disable(int enable, u32 domain_id, u16 src_port)
Enable/disable SNAT IPFIX logging.
snat_ipfix_logging_main_t snat_ipfix_logging_main
u16 nat44_session_template_id
template IDs
vlib_buffer_t * addr_exhausted_buffer
void snat_ipfix_logging_init(vlib_main_t *vm)
Initialize SNAT IPFIX logging.
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.
u32 nat44_session_next_record_offset
next record offset