FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
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) |
u8 * | show_ioam_seqno_analyse_data_fn (u8 *s, seqno_rx_info *rx) |
u8 * | show_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) |
#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 struct ioam_seqno_data_ ioam_seqno_data |
typedef struct seqno_bitmap_ seqno_bitmap |
typedef struct seqno_rx_info_ seqno_rx_info |
|
inlinestatic |
Definition at line 117 of file ioam_seqno_lib.h.
void ioam_seqno_init_data | ( | ioam_seqno_data * | data | ) |
Definition at line 54 of file ioam_seqno_lib.c.
void ioam_seqno_init_rx_info | ( | seqno_rx_info * | data | ) |
u8* show_ioam_seqno_analyse_data_fn | ( | u8 * | s, |
seqno_rx_info * | rx | ||
) |
Definition at line 41 of file ioam_seqno_lib.c.
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.