FD.io VPP  v21.01.1
Vector Packet Processing
bier_hdr_t_ Struct Reference

A BIER header of variable length The encoding follows: https://tools.ietf.org/html/draft-ietf-bier-mpls-encapsulation-10. More...

Data Fields

u32 bh_first_word
 The first nibble is always set to 0101 to ensure that when carried over MPLS, the BIER packet is not mistaken for IPv[46]: type: bier_hdr_version_t. More...
 
u16 bh_oam_dscp_proto
 The second word comprises: 2 bits of OAM for passive perf measurement 2 reserved bits; 6 bits of DSCP 6 bits for the next-proto field of type; bier_hdr_proto_id_t. More...
 
u16 bh_bfr_id
 The BFR-ID of the sender. More...
 
bier_bit_mask_bucket_t bh_bit_string [0]
 The variable length bit-string. More...
 

Detailed Description

A BIER header of variable length The encoding follows: https://tools.ietf.org/html/draft-ietf-bier-mpls-encapsulation-10.

Definition at line 321 of file bier_types.h.

Field Documentation

◆ bh_bfr_id

u16 bier_hdr_t_::bh_bfr_id

The BFR-ID of the sender.

Definition at line 354 of file bier_types.h.

◆ bh_bit_string

bier_bit_mask_bucket_t bier_hdr_t_::bh_bit_string[0]

The variable length bit-string.

Definition at line 359 of file bier_types.h.

◆ bh_first_word

u32 bier_hdr_t_::bh_first_word

The first nibble is always set to 0101 to ensure that when carried over MPLS, the BIER packet is not mistaken for IPv[46]: type: bier_hdr_version_t.

The second nibble is the version - this is 0: type: bier_hdr_version_t

The third nibble is header length ID type: bier_hdr_len_id_t

The next 20 bits are entropy An entropy value, calculated by the head end, used at the head and mid-points for load-balance hash type: bier_hdr_entropy_t

Definition at line 339 of file bier_types.h.

◆ bh_oam_dscp_proto

u16 bier_hdr_t_::bh_oam_dscp_proto

The second word comprises: 2 bits of OAM for passive perf measurement 2 reserved bits; 6 bits of DSCP 6 bits for the next-proto field of type; bier_hdr_proto_id_t.

Definition at line 349 of file bier_types.h.


The documentation for this struct was generated from the following file: