FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
ip_path_mtu.h File Reference
+ Include dependency graph for ip_path_mtu.h:
+ This graph shows which files directly or indirectly include this file:

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_tip_pmtu_dpo_get (index_t index)
 
static_always_inline ip_pmtu_tip_path_mtu_get (index_t index)
 

Variables

ip_pmtu_dpo_tip_pmtu_dpo_pool
 Data-plane accessor functions. More...
 
ip_pmtu_tip_pmtu_pool
 Path MTU tracker pool. More...
 

Macro Definition Documentation

◆ foreach_ip_pmtu_flag

#define foreach_ip_pmtu_flag
Value:
_ (ATTACHED, 0, "attached") \
_ (REMOTE, 1, "remote") \
_ (STALE, 2, "stale")

Definition at line 57 of file ip_path_mtu.h.

Typedef Documentation

◆ ip_path_mtu_walk_t

typedef walk_rc_t(* ip_path_mtu_walk_t) (index_t ipti, void *ctx)

Definition at line 94 of file ip_path_mtu.h.

◆ ip_pmtu_dpo_t

typedef struct ip_pmtu_dpo_t_ ip_pmtu_dpo_t

The Path MTU DPO.

interposed in the forwarding chain of the host prefix.

◆ ip_pmtu_flags_t

◆ ip_pmtu_t

typedef struct ip_pmtu_t_ ip_pmtu_t

Remote Path MTU tracking object.

Enumeration Type Documentation

◆ ip_pmtu_flags_t_

Enumerator
foreach_ip_pmtu_flag 

Definition at line 62 of file ip_path_mtu.h.

Function Documentation

◆ ip_path_mtu_get()

static_always_inline ip_pmtu_t* ip_path_mtu_get ( index_t  index)

Definition at line 115 of file ip_path_mtu.h.

+ Here is the caller graph for this function:

◆ ip_path_mtu_replace_begin()

int ip_path_mtu_replace_begin ( void  )

Definition at line 718 of file ip_path_mtu.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip_path_mtu_replace_end()

int ip_path_mtu_replace_end ( void  )

Definition at line 728 of file ip_path_mtu.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip_path_mtu_update()

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip_path_mtu_walk()

void ip_path_mtu_walk ( ip_path_mtu_walk_t  fn,
void *  ctx 
)

Definition at line 760 of file ip_path_mtu.c.

+ Here is the caller graph for this function:

◆ ip_pmtu_dpo_get()

static_always_inline ip_pmtu_dpo_t* ip_pmtu_dpo_get ( index_t  index)

Definition at line 108 of file ip_path_mtu.h.

+ Here is the caller graph for this function:

◆ ip_pmtu_get_ip()

void ip_pmtu_get_ip ( const ip_pmtu_t ipt,
ip_address_t ip 
)

Definition at line 126 of file ip_path_mtu.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip_pmtu_get_table_id()

u32 ip_pmtu_get_table_id ( const ip_pmtu_t ipt)

Definition at line 114 of file ip_path_mtu.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ STATIC_ASSERT_SIZEOF()

STATIC_ASSERT_SIZEOF ( ip_pmtu_dpo_t  ,
2 *  sizeofu64 
)

Variable Documentation

◆ ip_pmtu_dpo_pool

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_pool

ip_pmtu_t* ip_pmtu_pool

Path MTU tracker pool.

Definition at line 67 of file ip_path_mtu.c.