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

Go to the source code of this file.

Data Structures

struct  seqno_bitmap_
 
struct  seqno_rx_info_
 
struct  ioam_seqno_data_
 

Macros

#define SEQ_CHECK_VALUE   0x80000000 /* for seq number wraparound detection */
 
#define SEQNO_WINDOW_SIZE   2048
 
#define SEQNO_WINDOW_ARRAY_SIZE   64
 

Typedefs

typedef struct seqno_bitmap_ seqno_bitmap
 
typedef struct seqno_rx_info_ seqno_rx_info
 
typedef struct ioam_seqno_data_ ioam_seqno_data
 

Functions

static void BIT_SET (u64 *p, u32 n)
 
static int BIT_TEST (u64 *p, u32 n)
 
static void BIT_CLEAR (u64 *p, u64 start, int num_bits, u32 mask)
 
static u8 seqno_check_wraparound (u32 a, u32 b)
 
static void ioam_analyze_seqno (seqno_rx_info *seqno_rx, u64 seqno)
 
u8show_ioam_seqno_analyse_data_fn (u8 *s, seqno_rx_info *rx)
 
u8show_ioam_seqno_cmd_fn (u8 *s, ioam_seqno_data *seqno_data, u8 enc)
 
void ioam_seqno_init_data (ioam_seqno_data *data)
 
void ioam_seqno_init_rx_info (seqno_rx_info *data)
 

Macro Definition Documentation

◆ SEQ_CHECK_VALUE

#define SEQ_CHECK_VALUE   0x80000000 /* for seq number wraparound detection */

Definition at line 21 of file ioam_seqno_lib.h.

◆ SEQNO_WINDOW_ARRAY_SIZE

#define SEQNO_WINDOW_ARRAY_SIZE   64

Definition at line 24 of file ioam_seqno_lib.h.

◆ SEQNO_WINDOW_SIZE

#define SEQNO_WINDOW_SIZE   2048

Definition at line 23 of file ioam_seqno_lib.h.

Typedef Documentation

◆ ioam_seqno_data

◆ seqno_bitmap

typedef struct seqno_bitmap_ seqno_bitmap

◆ seqno_rx_info

typedef struct seqno_rx_info_ seqno_rx_info

Function Documentation

◆ BIT_CLEAR()

static void BIT_CLEAR ( u64 p,
u64  start,
int  num_bits,
u32  mask 
)
static

Definition at line 68 of file ioam_seqno_lib.h.

+ Here is the caller graph for this function:

◆ BIT_SET()

static void BIT_SET ( u64 p,
u32  n 
)
inlinestatic

Definition at line 56 of file ioam_seqno_lib.h.

+ Here is the caller graph for this function:

◆ BIT_TEST()

static int BIT_TEST ( u64 p,
u32  n 
)
inlinestatic

Definition at line 62 of file ioam_seqno_lib.h.

+ Here is the caller graph for this function:

◆ ioam_analyze_seqno()

static void ioam_analyze_seqno ( seqno_rx_info seqno_rx,
u64  seqno 
)
inlinestatic

Definition at line 117 of file ioam_seqno_lib.h.

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

◆ ioam_seqno_init_data()

void ioam_seqno_init_data ( ioam_seqno_data data)

Definition at line 54 of file ioam_seqno_lib.c.

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

◆ ioam_seqno_init_rx_info()

void ioam_seqno_init_rx_info ( seqno_rx_info data)

Definition at line 62 of file ioam_seqno_lib.c.

+ Here is the caller graph for this function:

◆ seqno_check_wraparound()

static u8 seqno_check_wraparound ( u32  a,
u32  b 
)
inlinestatic

Definition at line 102 of file ioam_seqno_lib.h.

+ Here is the caller graph for this function:

◆ show_ioam_seqno_analyse_data_fn()

u8* show_ioam_seqno_analyse_data_fn ( u8 s,
seqno_rx_info rx 
)

Definition at line 41 of file ioam_seqno_lib.c.

+ Here is the caller graph for this function:

◆ show_ioam_seqno_cmd_fn()

u8* show_ioam_seqno_cmd_fn ( u8 s,
ioam_seqno_data seqno_data,
u8  enc 
)

Definition at line 21 of file ioam_seqno_lib.c.

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