17 #ifndef __included_nat_ipfix_logging_h__ 18 #define __included_nat_ipfix_logging_h__ 70 u16 src_port,
u16 nat_src_port,
74 u16 src_port,
u16 nat_src_port,
u32 max_entries_per_user_next_record_offset
vlib_frame_t * max_entries_per_user_frame
vlib_frame_t * addr_exhausted_frame
void snat_ipfix_logging_init(vlib_main_t *vm)
Initialize NAT plugin IPFIX logging.
u16 addr_exhausted_template_id
u8 enabled
NAT plugin IPFIX logging enabled.
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.
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.
u32 addr_exhausted_next_record_offset
snat_ipfix_logging_main_t snat_ipfix_logging_main
vlib_frame_t * nat44_session_frame
frames containing ipfix buffers
u32 stream_index
stream index
u64 milisecond_time_0
Time reference pair.
u16 max_entries_per_user_template_id
vlib_buffer_t * nat44_session_buffer
ipfix buffers under construction
void snat_ipfix_logging_addresses_exhausted(u32 pool_id)
Generate NAT addresses exhausted event.
u16 nat44_session_template_id
template IDs
vlib_buffer_t * addr_exhausted_buffer
int snat_ipfix_logging_enable_disable(int enable, u32 domain_id, u16 src_port)
Enable/disable NAT plugin IPFIX logging.
void snat_ipfix_logging_max_entries_per_user(u32 src_ip)
Generate maximum entries per user exceeded event.
vlib_buffer_t * max_entries_per_user_buffer
u32 nat44_session_next_record_offset
next record offset