FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
mpls_label_dpo_t Struct Reference

A representation of an MPLS label for imposition in the data-path. More...

+ Collaboration diagram for mpls_label_dpo_t:

Public Member Functions

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

Data Fields

mpls_unicast_header_t mld_hdr [MPLS_LABEL_DPO_MAX_N_LABELS]
 The MPLS label header to impose. More...
 
dpo_id_t mld_dpo
 Next DPO in the graph. More...
 
dpo_proto_t mld_payload_proto
 The protocol of the payload/packets that are being encapped. More...
 
mpls_label_dpo_flags_t mld_flags
 Flags. More...
 
u8 mld_n_labels
 Size of the label stack. More...
 
u16 mld_n_hdr_bytes
 Cached amount of header bytes to paint. More...
 
u16 mld_locks
 Number of locks/users of the label. More...
 

Detailed Description

A representation of an MPLS label for imposition in the data-path.

Definition at line 67 of file mpls_label_dpo.h.

Member Function Documentation

mpls_label_dpo_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

required for pool_get_aligned.

memebers used in the switch path come first!

Field Documentation

dpo_id_t mpls_label_dpo_t::mld_dpo

Next DPO in the graph.

Definition at line 84 of file mpls_label_dpo.h.

mpls_label_dpo_flags_t mpls_label_dpo_t::mld_flags

Flags.

Definition at line 94 of file mpls_label_dpo.h.

The MPLS label header to impose.

Outer most label first. Each DPO will occupy one cache line, stuff that many labels in.

Definition at line 79 of file mpls_label_dpo.h.

u16 mpls_label_dpo_t::mld_locks

Number of locks/users of the label.

Definition at line 109 of file mpls_label_dpo.h.

u16 mpls_label_dpo_t::mld_n_hdr_bytes

Cached amount of header bytes to paint.

Definition at line 104 of file mpls_label_dpo.h.

u8 mpls_label_dpo_t::mld_n_labels

Size of the label stack.

Definition at line 99 of file mpls_label_dpo.h.

dpo_proto_t mpls_label_dpo_t::mld_payload_proto

The protocol of the payload/packets that are being encapped.

Definition at line 89 of file mpls_label_dpo.h.


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