Go to the source code of this file.
|
static bier_hdr_version_t | bier_hdr_get_version (const bier_hdr_t *bier_hdr) |
|
static bier_hdr_len_id_t | bier_hdr_get_len_id (const bier_hdr_t *bier_hdr) |
|
static bier_hdr_entropy_t | bier_hdr_get_entropy (const bier_hdr_t *bier_hdr) |
|
static void | bier_hdr_1st_nibble (bier_hdr_t *hdr) |
|
static u8 | bier_hdr_get_1st_nibble (bier_hdr_t *hdr) |
|
static void | bier_hdr_set_version (bier_hdr_t *hdr, bier_hdr_version_t version) |
|
static void | bier_hdr_set_len_id (bier_hdr_t *hdr, bier_hdr_len_id_t len) |
|
static void | bier_hdr_set_entropy (bier_hdr_t *hdr, bier_hdr_entropy_t entropy) |
|
static void | bier_hdr_ntoh (bier_hdr_t *bier_hdr) |
|
static void | bier_hdr_hton (bier_hdr_t *bier_hdr) |
|
static bier_hdr_src_id_t | bier_hdr_get_src_id (const bier_hdr_t *bier_hdr) |
|
static void | bier_hdr_set_src_id (bier_hdr_t *bier_hdr, bier_hdr_src_id_t src_id) |
|
static void | bier_hdr_set_proto_id (bier_hdr_t *bier_hdr, bier_hdr_proto_id_t proto) |
|
static bier_hdr_proto_id_t | bier_hdr_get_proto_id (const bier_hdr_t *bier_hdr) |
|
static void | bier_hdr_clear (bier_hdr_t *bier_hdr) |
|
static void | bier_hdr_init (bier_hdr_t *bier_hdr, bier_hdr_version_t version, bier_hdr_proto_id_t proto, bier_hdr_len_id_t len, bier_hdr_entropy_t entropy, bier_bp_t src) |
|
static size_t | bier_hdr_str_num_bytes (const bier_hdr_t *bier_hdr) |
|
static size_t | bier_hdr_num_bytes (const bier_hdr_t *bier_hdr) |
|
static void | bier_bit_string_init_from_hdr (bier_hdr_t *bier_hdr, bier_bit_string_t *bit_string) |
|
◆ BIER_HDR_1ST_NIBBLE_MASK
#define BIER_HDR_1ST_NIBBLE_MASK 0xf0000000 |
Mask and shift values for the fields incorporated into the header's first word.
Definition at line 38 of file bier_hdr_inlines.h.
◆ BIER_HDR_1ST_NIBBLE_SHIFT
#define BIER_HDR_1ST_NIBBLE_SHIFT 28 |
◆ BIER_HDR_1ST_NIBBLE_VALUE
#define BIER_HDR_1ST_NIBBLE_VALUE 0x5 |
◆ BIER_HDR_DSCP_FIELD_MASK
#define BIER_HDR_DSCP_FIELD_MASK 0x0fc0 |
◆ BIER_HDR_DSCP_FIELD_SHIFT
#define BIER_HDR_DSCP_FIELD_SHIFT 6 |
◆ BIER_HDR_ENTROPY_FIELD_MASK
#define BIER_HDR_ENTROPY_FIELD_MASK 0x000fffff |
◆ BIER_HDR_ENTROPY_FIELD_SHIFT
#define BIER_HDR_ENTROPY_FIELD_SHIFT 0 |
◆ BIER_HDR_FIRST_WORD
#define BIER_HDR_FIRST_WORD |
( |
|
version, |
|
|
|
len, |
|
|
|
entropy |
|
) |
| |
Value: BIER_HDR_1ST_NIBBLE_SHIFT) | \
#define BIER_HDR_ENTROPY_FIELD_MASK
#define BIER_HDR_ENTROPY_FIELD_SHIFT
#define BIER_HDR_VERSION_FIELD_SHIFT
#define BIER_HDR_1ST_NIBBLE_VALUE
#define BIER_HDR_LEN_FIELD_SHIFT
Definition at line 124 of file bier_hdr_inlines.h.
◆ BIER_HDR_LEN_FIELD_MASK
#define BIER_HDR_LEN_FIELD_MASK 0x00f00000 |
◆ BIER_HDR_LEN_FIELD_SHIFT
#define BIER_HDR_LEN_FIELD_SHIFT 20 |
◆ BIER_HDR_OAM_FIELD_MASK
#define BIER_HDR_OAM_FIELD_MASK 0xc000 |
◆ BIER_HDR_OAM_FIELD_SHIFT
#define BIER_HDR_OAM_FIELD_SHIFT 14 |
◆ BIER_HDR_PROTO_FIELD_MASK
#define BIER_HDR_PROTO_FIELD_MASK 0x003f |
Mask and shift values for fields in the headers training word.
Definition at line 53 of file bier_hdr_inlines.h.
◆ BIER_HDR_PROTO_FIELD_SHIFT
#define BIER_HDR_PROTO_FIELD_SHIFT 0 |
◆ BIER_HDR_VERSION_FIELD_MASK
#define BIER_HDR_VERSION_FIELD_MASK 0x0f000000 |
◆ BIER_HDR_VERSION_FIELD_SHIFT
#define BIER_HDR_VERSION_FIELD_SHIFT 24 |
◆ BIER_RX_ITF
#define BIER_RX_ITF (~0 - 1) |
The BIER inline functions acting on the bier header.
Special Value of the BIER RX interface
Definition at line 32 of file bier_hdr_inlines.h.
◆ bier_bit_string_init_from_hdr()
◆ bier_hdr_1st_nibble()
static void bier_hdr_1st_nibble |
( |
bier_hdr_t * |
hdr | ) |
|
|
inlinestatic |
◆ bier_hdr_clear()
static void bier_hdr_clear |
( |
bier_hdr_t * |
bier_hdr | ) |
|
|
inlinestatic |
◆ bier_hdr_get_1st_nibble()
◆ bier_hdr_get_entropy()
◆ bier_hdr_get_len_id()
◆ bier_hdr_get_proto_id()
◆ bier_hdr_get_src_id()
◆ bier_hdr_get_version()
◆ bier_hdr_hton()
static void bier_hdr_hton |
( |
bier_hdr_t * |
bier_hdr | ) |
|
|
inlinestatic |
◆ bier_hdr_init()
◆ bier_hdr_ntoh()
static void bier_hdr_ntoh |
( |
bier_hdr_t * |
bier_hdr | ) |
|
|
inlinestatic |
◆ bier_hdr_num_bytes()
static size_t bier_hdr_num_bytes |
( |
const bier_hdr_t * |
bier_hdr | ) |
|
|
inlinestatic |
◆ bier_hdr_set_entropy()
◆ bier_hdr_set_len_id()
◆ bier_hdr_set_proto_id()
◆ bier_hdr_set_src_id()
◆ bier_hdr_set_version()
◆ bier_hdr_str_num_bytes()
static size_t bier_hdr_str_num_bytes |
( |
const bier_hdr_t * |
bier_hdr | ) |
|
|
inlinestatic |