|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
57 #define foreach_ip_pmtu_flag \
58 _ (ATTACHED, 0, "attached") \
59 _ (REMOTE, 1, "remote") \
64 #define _(a, b, c) IP_PMTU_FLAG_##a = (1 << b),
ip_pmtu_flags_t ipt_flags
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
enum ip_pmtu_flags_t_ ip_pmtu_flags_t
int ip_path_mtu_replace_begin(void)
static_always_inline ip_pmtu_t * ip_path_mtu_get(index_t index)
void ip_path_mtu_walk(ip_path_mtu_walk_t fn, void *ctx)
Remote Path MTU tracking object.
int ip_path_mtu_replace_end(void)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
#define static_always_inline
u32 fib_node_index_t
A typedef of a node index.
walk_rc_t(* ip_path_mtu_walk_t)(index_t ipti, void *ctx)
u16 ipt_oper_pmtu
operational MTU; the minimum value of the cfg and parent MTU
fib_node_index_t ipt_fib_entry
Track fib entry.
STATIC_ASSERT_SIZEOF(ip_pmtu_dpo_t, 2 *sizeof(u64))
dpo_proto_t ipm_proto
The protocol of packets using this DPO.
u16 ipt_parent_pmtu
MTU from the parent MTU.
fib_node_t ipt_node
linkage into the FIB graph
u32 ip_pmtu_get_table_id(const ip_pmtu_t *ipt)
static_always_inline ip_pmtu_dpo_t * ip_pmtu_dpo_get(index_t index)
u16 ipm_pmtu
Configured Path Mtu.
dpo_id_t ipm_dpo
Stacked DPO.
int ip_path_mtu_update(const ip_address_t *nh, u32 table_id, u16 pmtu)
u16 ipm_locks
number of locks.
struct ip_pmtu_t_ ip_pmtu_t
Remote Path MTU tracking object.
#define foreach_ip_pmtu_flag
An node in the FIB graph.
ip_pmtu_dpo_t * ip_pmtu_dpo_pool
Data-plane accessor functions.
ip_pmtu_t * ip_pmtu_pool
Path MTU tracker pool.
void ip_pmtu_get_ip(const ip_pmtu_t *ipt, ip_address_t *ip)
u16 ipt_cfg_pmtu
Configured MTU.
struct ip_pmtu_dpo_t_ ip_pmtu_dpo_t
The Path MTU DPO.
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
enum walk_rc_t_ walk_rc_t
Walk return code.