FD.io VPP  v19.01.2-3-gf61a1a8
Vector Packet Processing
bier_imp_t_ Struct Reference

bier_imposition : The BIER imposition object More...

+ Collaboration diagram for bier_imp_t_:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 Required for pool_get_aligned. More...
 

Data Fields

dpo_id_t bi_dpo [FIB_PROTOCOL_IP_MAX]
 The DPO contirubted from the resolving BIER table. More...
 
bier_hdr_t bi_hdr
 The Header to impose. More...
 
u8 bi_bits [BIER_HDR_BUCKETS_1024]
 The bit string. More...
 
bier_table_id_t bi_tbl
 The BIER table into which to forward the post imposed packet. More...
 
u32 bi_locks
 number of locks More...
 

Detailed Description

bier_imposition : The BIER imposition object

A BIER imposition object is present in the IP mcast output list and represents the imposition of a BIER bitmask. After BIER header imposition the packet is forward within the appropriate/specifid BIER table The BIER imposition object

Definition at line 34 of file bier_imp.h.

Member Function Documentation

bier_imp_t_::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Required for pool_get_aligned.

Field Documentation

u8 bier_imp_t_::bi_bits[BIER_HDR_BUCKETS_1024]

The bit string.

This is a memory v. speed tradeoff. We inline here the largest header type so as the bitstring is on the same cacheline as the header.

Definition at line 58 of file bier_imp.h.

dpo_id_t bier_imp_t_::bi_dpo[FIB_PROTOCOL_IP_MAX]

The DPO contirubted from the resolving BIER table.

One per-IP protocol. This allows us to share a BIER imposition object for a IPv4 and IPv6 mfib path.

Definition at line 45 of file bier_imp.h.

bier_hdr_t bier_imp_t_::bi_hdr

The Header to impose.

Definition at line 50 of file bier_imp.h.

u32 bier_imp_t_::bi_locks

number of locks

Definition at line 68 of file bier_imp.h.

bier_table_id_t bier_imp_t_::bi_tbl

The BIER table into which to forward the post imposed packet.

Definition at line 63 of file bier_imp.h.


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