FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | CGSE_SVI_TYPE_CNAT 1 |
#define | CGSE_SVI_TYPE_XLAT 2 |
#define | CGSE_SVI_TYPE_NAT64_STATEFUL 3 |
#define | CGSE_SVI_TYPE_V6RD 4 |
#define | CGSE_SVI_TYPE_INFRA 5 |
#define | CGSE_SVI_TYPE_DS_LITE 7 |
#define | CGSE_SVI_TYPE_MAPE 9 |
#define | CGSE_SET_TX_PKT_TYPE(type) PLATFORM_SET_CTX_RU_TX_PKT_TYPE(ctx, type) |
#define | CGSE_INVALID_UIDX 0xffff /*invalid svi app uidb index */ |
#define | CGSE_INVALID_VRFID 0xffffffff /*invalid vrf id */ |
#define | CGSE_VRF_MASK 0x3fff |
#define | CGSE_MAX_VRFMAP_ENTRIES (CGSE_VRF_MASK + 1) |
#define | CGSE_VRFMAP_ENTRY_INVALID 0xffff |
#define | CGSE_INVALID_CGSE_ID (0) |
#define | CGSE_TABLE_ENTRY_DELETED 0 |
#define | CGSE_TABLE_ENTRY_ACTIVE 1 |
#define | CGSE_TABLE_ENTRY_DORMANT 2 |
#define | CGSE_TABLE_ENTRY_INVALID_UIDB 3 |
#define | CGSE_CONFIG_HANDLER_DEBUG_PRINTF1(level, a) if (cgse_config_debug_level > level) printf(a); |
#define | CGSE_CONFIG_HANDLER_DEBUG_PRINTF2(level, a, b) if (cgse_config_debug_level > level) printf(a, b); |
#define | CGSE_CONFIG_HANDLER_DEBUG_PRINTF3(level, a, b, c) if (cgse_config_debug_level > level) printf(a, b, c); |
#define | CGSE_CONFIG_HANDLER_DEBUG_PRINTF4(level, a, b, c, d) if (cgse_config_debug_level > level) printf(a, b, c, d); |
#define | CGSE_CONFIG_HANDLER_DEBUG_PRINTF5(level, a, b, c, d, e) if (cgse_config_debug_level > level) printf(a, b, c, d, e); |
#define | CGSE_CONFIG_HANDLER_DEBUG_PRINTF6(level, a, b, c, d, e, f) if (cgse_config_debug_level > level) printf(a, b, c, d, e, f); |
#define | CGSE_CONFIG_HANDLER_DEBUG_PRINTF7(level, a, b, c, d, e, f, g) if (cgse_config_debug_level > level) printf(a, b, c, d, e, f, g); |
#define | CGSE_CONFIG_HANDLER_DEBUG_PRINTF8(level, a, b, c, d, e, f, g, h) if (cgse_config_debug_level > level) printf(a, b, c, d, e, f, g, h); |
#define | CGSE_CONFIG_HANDLER_DEBUG_PRINTF9(level, a, b, c, d, e, f, g, h, i) if (cgse_config_debug_level > level) printf(a, b, c, d, e, f, g, h, i); |
#define | CGSE_ADD_UIDB_INDEX_CGSE_ID_MAPPING(uidb_index, cgse_id) *(cgse_uidb_index_cgse_id_mapping_ptr + uidb_index) = cgse_id; |
Variables | |
u16 * | cgse_uidb_index_cgse_id_mapping_ptr |
u8 | my_instance_number |
#define CGSE_ADD_UIDB_INDEX_CGSE_ID_MAPPING | ( | uidb_index, | |
cgse_id | |||
) | *(cgse_uidb_index_cgse_id_mapping_ptr + uidb_index) = cgse_id; |
Definition at line 83 of file cgse_defs.h.
#define CGSE_CONFIG_HANDLER_DEBUG_PRINTF1 | ( | level, | |
a | |||
) | if (cgse_config_debug_level > level) printf(a); |
Definition at line 54 of file cgse_defs.h.
#define CGSE_CONFIG_HANDLER_DEBUG_PRINTF2 | ( | level, | |
a, | |||
b | |||
) | if (cgse_config_debug_level > level) printf(a, b); |
Definition at line 57 of file cgse_defs.h.
#define CGSE_CONFIG_HANDLER_DEBUG_PRINTF3 | ( | level, | |
a, | |||
b, | |||
c | |||
) | if (cgse_config_debug_level > level) printf(a, b, c); |
Definition at line 60 of file cgse_defs.h.
#define CGSE_CONFIG_HANDLER_DEBUG_PRINTF4 | ( | level, | |
a, | |||
b, | |||
c, | |||
d | |||
) | if (cgse_config_debug_level > level) printf(a, b, c, d); |
Definition at line 63 of file cgse_defs.h.
#define CGSE_CONFIG_HANDLER_DEBUG_PRINTF5 | ( | level, | |
a, | |||
b, | |||
c, | |||
d, | |||
e | |||
) | if (cgse_config_debug_level > level) printf(a, b, c, d, e); |
Definition at line 66 of file cgse_defs.h.
#define CGSE_CONFIG_HANDLER_DEBUG_PRINTF6 | ( | level, | |
a, | |||
b, | |||
c, | |||
d, | |||
e, | |||
f | |||
) | if (cgse_config_debug_level > level) printf(a, b, c, d, e, f); |
Definition at line 69 of file cgse_defs.h.
#define CGSE_CONFIG_HANDLER_DEBUG_PRINTF7 | ( | level, | |
a, | |||
b, | |||
c, | |||
d, | |||
e, | |||
f, | |||
g | |||
) | if (cgse_config_debug_level > level) printf(a, b, c, d, e, f, g); |
Definition at line 72 of file cgse_defs.h.
#define CGSE_CONFIG_HANDLER_DEBUG_PRINTF8 | ( | level, | |
a, | |||
b, | |||
c, | |||
d, | |||
e, | |||
f, | |||
g, | |||
h | |||
) | if (cgse_config_debug_level > level) printf(a, b, c, d, e, f, g, h); |
Definition at line 75 of file cgse_defs.h.
#define CGSE_CONFIG_HANDLER_DEBUG_PRINTF9 | ( | level, | |
a, | |||
b, | |||
c, | |||
d, | |||
e, | |||
f, | |||
g, | |||
h, | |||
i | |||
) | if (cgse_config_debug_level > level) printf(a, b, c, d, e, f, g, h, i); |
Definition at line 78 of file cgse_defs.h.
#define CGSE_INVALID_CGSE_ID (0) |
Definition at line 46 of file cgse_defs.h.
#define CGSE_INVALID_UIDX 0xffff /*invalid svi app uidb index */ |
Definition at line 37 of file cgse_defs.h.
#define CGSE_INVALID_VRFID 0xffffffff /*invalid vrf id */ |
Definition at line 38 of file cgse_defs.h.
#define CGSE_MAX_VRFMAP_ENTRIES (CGSE_VRF_MASK + 1) |
Definition at line 41 of file cgse_defs.h.
#define CGSE_SET_TX_PKT_TYPE | ( | type | ) | PLATFORM_SET_CTX_RU_TX_PKT_TYPE(ctx, type) |
Definition at line 35 of file cgse_defs.h.
#define CGSE_SVI_TYPE_CNAT 1 |
Definition at line 27 of file cgse_defs.h.
#define CGSE_SVI_TYPE_DS_LITE 7 |
Definition at line 32 of file cgse_defs.h.
#define CGSE_SVI_TYPE_INFRA 5 |
Definition at line 31 of file cgse_defs.h.
#define CGSE_SVI_TYPE_MAPE 9 |
Definition at line 33 of file cgse_defs.h.
#define CGSE_SVI_TYPE_NAT64_STATEFUL 3 |
Definition at line 29 of file cgse_defs.h.
#define CGSE_SVI_TYPE_V6RD 4 |
Definition at line 30 of file cgse_defs.h.
#define CGSE_SVI_TYPE_XLAT 2 |
Definition at line 28 of file cgse_defs.h.
#define CGSE_TABLE_ENTRY_ACTIVE 1 |
Definition at line 49 of file cgse_defs.h.
#define CGSE_TABLE_ENTRY_DELETED 0 |
Definition at line 48 of file cgse_defs.h.
#define CGSE_TABLE_ENTRY_DORMANT 2 |
Definition at line 50 of file cgse_defs.h.
#define CGSE_TABLE_ENTRY_INVALID_UIDB 3 |
Definition at line 51 of file cgse_defs.h.
#define CGSE_VRF_MASK 0x3fff |
Definition at line 40 of file cgse_defs.h.
#define CGSE_VRFMAP_ENTRY_INVALID 0xffff |
Definition at line 43 of file cgse_defs.h.
u16* cgse_uidb_index_cgse_id_mapping_ptr |
u8 my_instance_number |
Definition at line 51 of file cnat_ports.c.