FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
NAT syslog logging. More...
Go to the source code of this file.
Macros | |
#define | NAT_FACILITY SYSLOG_FACILITY_LOCAL0 |
#define | NAT_APPNAME "NAT" |
#define | SADD_SDEL_SEVERITY SYSLOG_SEVERITY_INFORMATIONAL |
#define | APMADD_APMDEL_SEVERITY SYSLOG_SEVERITY_INFORMATIONAL |
#define | SADD_MSGID "SADD" |
#define | SDEL_MSGID "SDEL" |
#define | APMADD_MSGID "APMADD" |
#define | APMDEL_MSGID "APMDEL" |
#define | NSESS_SDID "nsess" |
#define | NAPMAP_SDID "napmap" |
#define | SSUBIX_SDPARAM_NAME "SSUBIX" |
#define | SVLAN_SDPARAM_NAME "SVLAN" |
#define | IATYP_SDPARAM_NAME "IATYP" |
#define | ISADDR_SDPARAM_NAME "ISADDR" |
#define | ISPORT_SDPARAM_NAME "ISPORT" |
#define | IDADDR_SDPARAM_NAME "IDADDR" |
#define | IDPORT_SDPARAM_NAME "IDPORT" |
#define | XATYP_SDPARAM_NAME "XATYP" |
#define | XSADDR_SDPARAM_NAME "XSADDR" |
#define | XSPORT_SDPARAM_NAME "XSPORT" |
#define | XDADDR_SDPARAM_NAME "XDADDR" |
#define | XDPORT_SDPARAM_NAME "XDPORT" |
#define | PROTO_SDPARAM_NAME "PROTO" |
#define | SV6ENC_SDPARAM_NAME "SV6ENC" |
#define | IATYP_IPV4 "IPv4" |
#define | IATYP_IPV6 "IPv6" |
Functions | |
static void | nat_syslog_nat44_apmap (u32 ssubix, u32 sfibix, ip4_address_t *isaddr, u16 isport, ip4_address_t *xsaddr, u16 xsport, nat_protocol_t proto, u8 is_add, ip6_address_t *sv6enc) |
void | nat_syslog_nat44_apmadd (u32 ssubix, u32 sfibix, ip4_address_t *isaddr, u16 isport, ip4_address_t *xsaddr, u16 xsport, nat_protocol_t proto) |
void | nat_syslog_nat44_apmdel (u32 ssubix, u32 sfibix, ip4_address_t *isaddr, u16 isport, ip4_address_t *xsaddr, u16 xsport, nat_protocol_t proto) |
void | nat_syslog_dslite_apmadd (u32 ssubix, ip6_address_t *sv6enc, ip4_address_t *isaddr, u16 isport, ip4_address_t *xsaddr, u16 xsport, nat_protocol_t proto) |
void | nat_syslog_dslite_apmdel (u32 ssubix, ip6_address_t *sv6enc, ip4_address_t *isaddr, u16 isport, ip4_address_t *xsaddr, u16 xsport, nat_protocol_t proto) |
static void | nat_syslog_nat44_sess (u32 ssubix, u32 sfibix, ip4_address_t *isaddr, u16 isport, ip4_address_t *xsaddr, u16 xsport, ip4_address_t *idaddr, u16 idport, ip4_address_t *xdaddr, u16 xdport, nat_protocol_t proto, u8 is_add, u8 is_twicenat) |
void | nat_syslog_nat44_sadd (u32 ssubix, u32 sfibix, ip4_address_t *isaddr, u16 isport, ip4_address_t *idaddr, u16 idport, ip4_address_t *xsaddr, u16 xsport, ip4_address_t *xdaddr, u16 xdport, nat_protocol_t proto, u8 is_twicenat) |
void | nat_syslog_nat44_sdel (u32 ssubix, u32 sfibix, ip4_address_t *isaddr, u16 isport, ip4_address_t *idaddr, u16 idport, ip4_address_t *xsaddr, u16 xsport, ip4_address_t *xdaddr, u16 xdport, nat_protocol_t proto, u8 is_twicenat) |
static void | nat_syslog_nat64_sess (u32 sfibix, ip6_address_t *isaddr, u16 isport, ip4_address_t *xsaddr, u16 xsport, ip4_address_t *xdaddr, u16 xdport, nat_protocol_t proto, u8 is_add) |
void | nat_syslog_nat64_sadd (u32 sfibix, ip6_address_t *isaddr, u16 isport, ip4_address_t *xsaddr, u16 xsport, ip4_address_t *xdaddr, u16 xdport, nat_protocol_t proto) |
void | nat_syslog_nat64_sdel (u32 sfibix, ip6_address_t *isaddr, u16 isport, ip4_address_t *xsaddr, u16 xsport, ip4_address_t *xdaddr, u16 xdport, nat_protocol_t proto) |
NAT syslog logging.
Definition in file nat_syslog.c.
#define APMADD_APMDEL_SEVERITY SYSLOG_SEVERITY_INFORMATIONAL |
Definition at line 31 of file nat_syslog.c.
#define APMADD_MSGID "APMADD" |
Definition at line 35 of file nat_syslog.c.
#define APMDEL_MSGID "APMDEL" |
Definition at line 36 of file nat_syslog.c.
#define IATYP_IPV4 "IPv4" |
Definition at line 56 of file nat_syslog.c.
#define IATYP_IPV6 "IPv6" |
Definition at line 57 of file nat_syslog.c.
#define IATYP_SDPARAM_NAME "IATYP" |
Definition at line 43 of file nat_syslog.c.
#define IDADDR_SDPARAM_NAME "IDADDR" |
Definition at line 46 of file nat_syslog.c.
#define IDPORT_SDPARAM_NAME "IDPORT" |
Definition at line 47 of file nat_syslog.c.
#define ISADDR_SDPARAM_NAME "ISADDR" |
Definition at line 44 of file nat_syslog.c.
#define ISPORT_SDPARAM_NAME "ISPORT" |
Definition at line 45 of file nat_syslog.c.
#define NAPMAP_SDID "napmap" |
Definition at line 39 of file nat_syslog.c.
#define NAT_APPNAME "NAT" |
Definition at line 28 of file nat_syslog.c.
#define NAT_FACILITY SYSLOG_FACILITY_LOCAL0 |
Definition at line 26 of file nat_syslog.c.
#define NSESS_SDID "nsess" |
Definition at line 38 of file nat_syslog.c.
#define PROTO_SDPARAM_NAME "PROTO" |
Definition at line 53 of file nat_syslog.c.
#define SADD_MSGID "SADD" |
Definition at line 33 of file nat_syslog.c.
#define SADD_SDEL_SEVERITY SYSLOG_SEVERITY_INFORMATIONAL |
Definition at line 30 of file nat_syslog.c.
#define SDEL_MSGID "SDEL" |
Definition at line 34 of file nat_syslog.c.
#define SSUBIX_SDPARAM_NAME "SSUBIX" |
Definition at line 41 of file nat_syslog.c.
#define SV6ENC_SDPARAM_NAME "SV6ENC" |
Definition at line 54 of file nat_syslog.c.
#define SVLAN_SDPARAM_NAME "SVLAN" |
Definition at line 42 of file nat_syslog.c.
#define XATYP_SDPARAM_NAME "XATYP" |
Definition at line 48 of file nat_syslog.c.
#define XDADDR_SDPARAM_NAME "XDADDR" |
Definition at line 51 of file nat_syslog.c.
#define XDPORT_SDPARAM_NAME "XDPORT" |
Definition at line 52 of file nat_syslog.c.
#define XSADDR_SDPARAM_NAME "XSADDR" |
Definition at line 49 of file nat_syslog.c.
#define XSPORT_SDPARAM_NAME "XSPORT" |
Definition at line 50 of file nat_syslog.c.
void nat_syslog_dslite_apmadd | ( | u32 | ssubix, |
ip6_address_t * | sv6enc, | ||
ip4_address_t * | isaddr, | ||
u16 | isport, | ||
ip4_address_t * | xsaddr, | ||
u16 | xsport, | ||
nat_protocol_t | proto | ||
) |
Definition at line 125 of file nat_syslog.c.
void nat_syslog_dslite_apmdel | ( | u32 | ssubix, |
ip6_address_t * | sv6enc, | ||
ip4_address_t * | isaddr, | ||
u16 | isport, | ||
ip4_address_t * | xsaddr, | ||
u16 | xsport, | ||
nat_protocol_t | proto | ||
) |
Definition at line 135 of file nat_syslog.c.
void nat_syslog_nat44_apmadd | ( | u32 | ssubix, |
u32 | sfibix, | ||
ip4_address_t * | isaddr, | ||
u16 | isport, | ||
ip4_address_t * | xsaddr, | ||
u16 | xsport, | ||
nat_protocol_t | proto | ||
) |
Definition at line 107 of file nat_syslog.c.
|
inlinestatic |
Definition at line 60 of file nat_syslog.c.
void nat_syslog_nat44_apmdel | ( | u32 | ssubix, |
u32 | sfibix, | ||
ip4_address_t * | isaddr, | ||
u16 | isport, | ||
ip4_address_t * | xsaddr, | ||
u16 | xsport, | ||
nat_protocol_t | proto | ||
) |
Definition at line 116 of file nat_syslog.c.
void nat_syslog_nat44_sadd | ( | u32 | ssubix, |
u32 | sfibix, | ||
ip4_address_t * | isaddr, | ||
u16 | isport, | ||
ip4_address_t * | idaddr, | ||
u16 | idport, | ||
ip4_address_t * | xsaddr, | ||
u16 | xsport, | ||
ip4_address_t * | xdaddr, | ||
u16 | xdport, | ||
nat_protocol_t | proto, | ||
u8 | is_twicenat | ||
) |
Definition at line 197 of file nat_syslog.c.
void nat_syslog_nat44_sdel | ( | u32 | ssubix, |
u32 | sfibix, | ||
ip4_address_t * | isaddr, | ||
u16 | isport, | ||
ip4_address_t * | idaddr, | ||
u16 | idport, | ||
ip4_address_t * | xsaddr, | ||
u16 | xsport, | ||
ip4_address_t * | xdaddr, | ||
u16 | xdport, | ||
nat_protocol_t | proto, | ||
u8 | is_twicenat | ||
) |
Definition at line 209 of file nat_syslog.c.
|
inlinestatic |
Definition at line 145 of file nat_syslog.c.
void nat_syslog_nat64_sadd | ( | u32 | sfibix, |
ip6_address_t * | isaddr, | ||
u16 | isport, | ||
ip4_address_t * | xsaddr, | ||
u16 | xsport, | ||
ip4_address_t * | xdaddr, | ||
u16 | xdport, | ||
nat_protocol_t | proto | ||
) |
Definition at line 263 of file nat_syslog.c.
void nat_syslog_nat64_sdel | ( | u32 | sfibix, |
ip6_address_t * | isaddr, | ||
u16 | isport, | ||
ip4_address_t * | xsaddr, | ||
u16 | xsport, | ||
ip4_address_t * | xdaddr, | ||
u16 | xdport, | ||
nat_protocol_t | proto | ||
) |
Definition at line 273 of file nat_syslog.c.
|
inlinestatic |
Definition at line 221 of file nat_syslog.c.