FD.io VPP  v21.01.1
Vector Packet Processing
nsh_md2_ioam.h File Reference
+ Include dependency graph for nsh_md2_ioam.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nsh_md2_ioam_sw_interface_
 
struct  nsh_md2_ioam_dest_tunnels_
 
struct  nsh_md2_ioam_main_
 
struct  ioam_trace_t
 

Macros

#define PPC_NONE   0
 
#define PPC_ENCAP   1
 
#define PPC_DECAP   2
 
#define TSP_SECONDS   0
 
#define TSP_MILLISECONDS   1
 
#define TSP_MICROSECONDS   2
 
#define TSP_NANOSECONDS   3
 

Typedefs

typedef struct nsh_md2_ioam_sw_interface_ nsh_md2_ioam_sw_interface_t
 
typedef struct nsh_md2_ioam_dest_tunnels_ nsh_md2_ioam_dest_tunnels_t
 
typedef struct nsh_md2_ioam_main_ nsh_md2_ioam_main_t
 

Functions

clib_error_tnsh_md2_ioam_enable_disable (int has_trace_option, int has_pot_option, int has_ppc_option)
 
int nsh_md2_ioam_trace_profile_setup (void)
 
int nsh_md2_ioam_trace_profile_cleanup (void)
 
void nsh_md2_ioam_interface_init (void)
 

Variables

nsh_md2_ioam_main_t nsh_md2_ioam_main
 

Macro Definition Documentation

◆ PPC_DECAP

#define PPC_DECAP   2

Definition at line 59 of file nsh_md2_ioam.h.

◆ PPC_ENCAP

#define PPC_ENCAP   1

Definition at line 58 of file nsh_md2_ioam.h.

◆ PPC_NONE

#define PPC_NONE   0

Definition at line 57 of file nsh_md2_ioam.h.

◆ TSP_MICROSECONDS

#define TSP_MICROSECONDS   2

Definition at line 64 of file nsh_md2_ioam.h.

◆ TSP_MILLISECONDS

#define TSP_MILLISECONDS   1

Definition at line 63 of file nsh_md2_ioam.h.

◆ TSP_NANOSECONDS

#define TSP_NANOSECONDS   3

Definition at line 65 of file nsh_md2_ioam.h.

◆ TSP_SECONDS

#define TSP_SECONDS   0

Definition at line 62 of file nsh_md2_ioam.h.

Typedef Documentation

◆ nsh_md2_ioam_dest_tunnels_t

◆ nsh_md2_ioam_main_t

◆ nsh_md2_ioam_sw_interface_t

Function Documentation

◆ nsh_md2_ioam_enable_disable()

clib_error_t* nsh_md2_ioam_enable_disable ( int  has_trace_option,
int  has_pot_option,
int  has_ppc_option 
)

Definition at line 345 of file nsh_md2_ioam.c.

+ Here is the call graph for this function:

◆ nsh_md2_ioam_interface_init()

void nsh_md2_ioam_interface_init ( void  )

Definition at line 500 of file nsh_md2_ioam.c.

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

◆ nsh_md2_ioam_trace_profile_cleanup()

int nsh_md2_ioam_trace_profile_cleanup ( void  )

Definition at line 387 of file nsh_md2_ioam_trace.c.

+ Here is the caller graph for this function:

◆ nsh_md2_ioam_trace_profile_setup()

int nsh_md2_ioam_trace_profile_setup ( void  )

Definition at line 430 of file nsh_md2_ioam_trace.c.

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

Variable Documentation

◆ nsh_md2_ioam_main

nsh_md2_ioam_main_t nsh_md2_ioam_main

Definition at line 42 of file nsh_md2_ioam.c.