FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Variables | |
const static char *const | bier_hdr_len_id_names [] = BIER_HDR_LEN_IDS |
const static char *const | bier_hdr_proto_names [] = BIER_HDR_PROTO_ID_NAMES |
const static u16 | bier_hdr_len_num_buckets [] |
const static u16 | bier_hdr_len_num_bits [] |
const static u16 | bier_hdr_len_prefix_len [] |
void bier_bift_id_decode | ( | bier_bift_id_t | id, |
bier_table_set_id_t * | set, | ||
bier_table_sub_domain_id_t * | sd, | ||
bier_hdr_len_id_t * | bsl | ||
) |
bier_bift_id_t bier_bift_id_encode | ( | bier_table_set_id_t | set, |
bier_table_sub_domain_id_t | sd, | ||
bier_hdr_len_id_t | bsl | ||
) |
Encode a BIFT-ID as per draft-wijnandsxu-bier-non-mpls-bift-encoding-00.txt.
Definition at line 164 of file bier_types.c.
u32 bier_hdr_len_id_to_max_bit | ( | bier_hdr_len_id_t | id | ) |
u32 bier_hdr_len_id_to_max_bucket | ( | bier_hdr_len_id_t | id | ) |
u32 bier_hdr_len_id_to_num_bits | ( | bier_hdr_len_id_t | id | ) |
u32 bier_hdr_len_id_to_num_buckets | ( | bier_hdr_len_id_t | id | ) |
Conversion functions for the enumerated bit-string length values, to bit and bytes.
Definition at line 60 of file bier_types.c.
u32 bier_hdr_len_id_to_num_bytes | ( | bier_hdr_len_id_t | id | ) |
Definition at line 66 of file bier_types.c.
u32 bier_hdr_len_id_to_prefix_len | ( | bier_hdr_len_id_t | id | ) |
Definition at line 90 of file bier_types.c.
dpo_proto_t bier_hdr_proto_to_dpo | ( | bier_hdr_proto_id_t | bproto | ) |
Convert from BIER next-hop proto to DPO proto.
Definition at line 139 of file bier_types.c.
int bier_table_id_cmp | ( | const bier_table_id_t * | btid1, |
const bier_table_id_t * | btid2 | ||
) |
Compare to BIER table IDs for equality.
Definition at line 112 of file bier_types.c.
Definition at line 222 of file bier_types.c.
Format a BIER header.
Definition at line 205 of file bier_types.c.
Format the header length field.
Definition at line 96 of file bier_types.c.
Format the header length field.
Definition at line 104 of file bier_types.c.
Format a BIER table ID.
Definition at line 193 of file bier_types.c.
|
static |
Definition at line 23 of file bier_types.c.
|
static |
Definition at line 37 of file bier_types.c.
|
static |
Definition at line 26 of file bier_types.c.
|
static |
Definition at line 48 of file bier_types.c.
|
static |
Definition at line 24 of file bier_types.c.