FD.io VPP  v18.07-rc0-415-g6c78436
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

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

Definition at line 21 of file ioam_seqno_lib.h.

#define SEQNO_WINDOW_ARRAY_SIZE   64

Definition at line 24 of file ioam_seqno_lib.h.

#define SEQNO_WINDOW_SIZE   2048

Definition at line 23 of file ioam_seqno_lib.h.

Typedef Documentation

typedef struct seqno_bitmap_ seqno_bitmap
typedef struct seqno_rx_info_ seqno_rx_info

Function Documentation

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:

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:

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:

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:

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:

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:

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:

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 call graph for this function:

+ Here is the caller graph for this function:

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: