Go to the source code of this file.
|
typedef | CLIB_PACKED (struct { union { struct { ip4_address_t addr;u32 fib_index;};u64 as_u64;};}) vtep4_key_t |
| Tunnel endpoint key (IPv4) More...
|
|
typedef | CLIB_PACKED (struct { ip6_address_t addr;u32 fib_index;}) vtep6_key_t |
| Tunnel endpoint key (IPv6) More...
|
|
static vtep_table_t | vtep_table_create () |
|
uword | vtep_addr_ref (vtep_table_t *t, u32 fib_index, ip46_address_t *ip) |
|
uword | vtep_addr_unref (vtep_table_t *t, u32 fib_index, ip46_address_t *ip) |
|
static void | vtep4_key_init (vtep4_key_t *k4) |
|
static void | vtep6_key_init (vtep6_key_t *k6) |
|
static u8 | vtep4_check (vtep_table_t *t, vlib_buffer_t *b0, ip4_header_t *ip40, vtep4_key_t *last_k4) |
|
static u8 | vtep4_check_vector (vtep_table_t *t, vlib_buffer_t *b0, ip4_header_t *ip40, vtep4_key_t *last_k4, vtep4_cache_t *vtep4_u512) |
|
static u8 | vtep6_check (vtep_table_t *t, vlib_buffer_t *b0, ip6_header_t *ip60, vtep6_key_t *last_k6) |
|
◆ anonymous enum
Enumerator |
---|
VTEP_CHECK_FAIL | |
VTEP_CHECK_PASS | |
VTEP_CHECK_PASS_UNCHANGED | |
Definition at line 92 of file vtep.h.
◆ CLIB_PACKED() [1/2]
Tunnel endpoint key (IPv4)
Tunnel modules maintain a set of vtep4_key_t-s to track local IP addresses that have tunnels established. Bypass node consults the corresponding set to decide whether a packet should bypass normal processing and go directly to the tunnel protocol handler node.
◆ CLIB_PACKED() [2/2]
typedef CLIB_PACKED |
( |
struct { ip6_address_t addr;u32 fib_index;} |
| ) |
|
Tunnel endpoint key (IPv6)
Tunnel modules maintain a set of vtep6_key_t-s to track local IP addresses that have tunnels established. Bypass node consults the corresponding set to decide whether a packet should bypass normal processing and go directly to the tunnel protocol handler node.
◆ vtep4_check()
◆ vtep4_check_vector()
◆ vtep4_key_init()
static void vtep4_key_init |
( |
vtep4_key_t * |
k4 | ) |
|
|
inlinestatic |
◆ vtep6_check()
◆ vtep6_key_init()
static void vtep6_key_init |
( |
vtep6_key_t * |
k6 | ) |
|
|
inlinestatic |
◆ vtep_addr_ref()
◆ vtep_addr_unref()
◆ vtep_table_create()