FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ip_pmtu_dpo_t_ |
The Path MTU DPO. More... | |
struct | ip_pmtu_t_ |
Remote Path MTU tracking object. More... | |
Macros | |
#define | foreach_ip_pmtu_flag |
Typedefs | |
typedef struct ip_pmtu_dpo_t_ | ip_pmtu_dpo_t |
The Path MTU DPO. More... | |
typedef enum ip_pmtu_flags_t_ | ip_pmtu_flags_t |
typedef struct ip_pmtu_t_ | ip_pmtu_t |
Remote Path MTU tracking object. More... | |
typedef walk_rc_t(* | ip_path_mtu_walk_t) (index_t ipti, void *ctx) |
Enumerations | |
enum | ip_pmtu_flags_t_ { foreach_ip_pmtu_flag } |
Functions | |
STATIC_ASSERT_SIZEOF (ip_pmtu_dpo_t, 2 *sizeof(u64)) | |
int | ip_path_mtu_update (const ip_address_t *nh, u32 table_id, u16 pmtu) |
void | ip_path_mtu_walk (ip_path_mtu_walk_t fn, void *ctx) |
int | ip_path_mtu_replace_begin (void) |
int | ip_path_mtu_replace_end (void) |
u32 | ip_pmtu_get_table_id (const ip_pmtu_t *ipt) |
void | ip_pmtu_get_ip (const ip_pmtu_t *ipt, ip_address_t *ip) |
static_always_inline ip_pmtu_dpo_t * | ip_pmtu_dpo_get (index_t index) |
static_always_inline ip_pmtu_t * | ip_path_mtu_get (index_t index) |
Variables | |
ip_pmtu_dpo_t * | ip_pmtu_dpo_pool |
Data-plane accessor functions. More... | |
ip_pmtu_t * | ip_pmtu_pool |
Path MTU tracker pool. More... | |
#define foreach_ip_pmtu_flag |
Definition at line 57 of file ip_path_mtu.h.
Definition at line 94 of file ip_path_mtu.h.
typedef struct ip_pmtu_dpo_t_ ip_pmtu_dpo_t |
The Path MTU DPO.
interposed in the forwarding chain of the host prefix.
typedef enum ip_pmtu_flags_t_ ip_pmtu_flags_t |
typedef struct ip_pmtu_t_ ip_pmtu_t |
Remote Path MTU tracking object.
enum ip_pmtu_flags_t_ |
Enumerator | |
---|---|
foreach_ip_pmtu_flag |
Definition at line 62 of file ip_path_mtu.h.
static_always_inline ip_pmtu_t* ip_path_mtu_get | ( | index_t | index | ) |
int ip_path_mtu_replace_begin | ( | void | ) |
Definition at line 718 of file ip_path_mtu.c.
int ip_path_mtu_replace_end | ( | void | ) |
Definition at line 728 of file ip_path_mtu.c.
int ip_path_mtu_update | ( | const ip_address_t * | nh, |
u32 | table_id, | ||
u16 | pmtu | ||
) |
Definition at line 647 of file ip_path_mtu.c.
void ip_path_mtu_walk | ( | ip_path_mtu_walk_t | fn, |
void * | ctx | ||
) |
static_always_inline ip_pmtu_dpo_t* ip_pmtu_dpo_get | ( | index_t | index | ) |
void ip_pmtu_get_ip | ( | const ip_pmtu_t * | ipt, |
ip_address_t * | ip | ||
) |
Definition at line 126 of file ip_path_mtu.c.
Definition at line 114 of file ip_path_mtu.c.
STATIC_ASSERT_SIZEOF | ( | ip_pmtu_dpo_t | , |
2 * | sizeofu64 | ||
) |
ip_pmtu_dpo_t* ip_pmtu_dpo_pool |
Data-plane accessor functions.
Data-plane accessor functions.
Definition at line 52 of file ip_path_mtu.c.
ip_pmtu_t* ip_pmtu_pool |
Path MTU tracker pool.
Definition at line 67 of file ip_path_mtu.c.