FD.io VPP  v18.01-8-g0eacf49
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:

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...
 
u16 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 31 of file mpls_label_dpo.h.

Field Documentation

dpo_id_t mpls_label_dpo_t::mld_dpo

Next DPO in the graph.

Definition at line 42 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 37 of file mpls_label_dpo.h.

u16 mpls_label_dpo_t::mld_locks

Number of locks/users of the label.

Definition at line 62 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 57 of file mpls_label_dpo.h.

u16 mpls_label_dpo_t::mld_n_labels

Size of the label stack.

Definition at line 52 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 47 of file mpls_label_dpo.h.


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