FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
oam.h File Reference
+ Include dependency graph for oam.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  oam_target_t
 
struct  oam_main_t
 

Enumerations

enum  oam_state_t { OAM_STATE_UNKNOWN = 0, OAM_STATE_ALIVE, OAM_STATE_DEAD }
 

Functions

typedef CLIB_PACKED (struct { ip4_header_t ip4;icmp46_header_t icmp;u16 id;u16 seq;u8 data[8];}) oam_template_t
 
typedef CLIB_PACKED (struct { u64 v8[4];u32 v4;}) oam_template_copy_t
 
int vpe_oam_add_del_target (ip4_address_t *src_address, ip4_address_t *dst_address, u32 fib_id, int is_add)
 

Enumeration Type Documentation

◆ oam_state_t

Enumerator
OAM_STATE_UNKNOWN 
OAM_STATE_ALIVE 
OAM_STATE_DEAD 

Definition at line 41 of file oam.h.

Function Documentation

◆ CLIB_PACKED() [1/2]

typedef CLIB_PACKED ( struct { ip4_header_t ip4;icmp46_header_t icmp;u16 id;u16 seq;u8 data[8];}  )

◆ CLIB_PACKED() [2/2]

typedef CLIB_PACKED ( struct { u64 v8[4];u32 v4;}  )

◆ vpe_oam_add_del_target()

int vpe_oam_add_del_target ( ip4_address_t src_address,
ip4_address_t dst_address,
u32  fib_id,
int  is_add 
)

Definition at line 60 of file oam.c.

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