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

Aggregate type for a prefix. More...

Data Fields

u16 fp_len
 The mask length. More...
 
fib_protocol_t fp_proto
 protocol type More...
 
union {
   ip46_address_t   fp_addr
 The address type is not deriveable from the fp_addr member. More...
 
   struct {
      mpls_label_t   fp_label
 
      mpls_eos_bit_t   fp_eos
 
      dpo_proto_t   fp_payload_proto
 This protocol determines the payload protocol of packets that will be forwarded by this entry once the label is popped. More...
 
   } 
 
}; 
 

Detailed Description

Aggregate type for a prefix.

Definition at line 202 of file fib_types.h.

Field Documentation

◆ @349

union { ... }

◆ fp_addr

ip46_address_t fib_prefix_t_::fp_addr

The address type is not deriveable from the fp_addr member.

If it's v4, then the first 3 u32s of the address will be 0. v6 addresses (even v4 mapped ones) have at least 2 u32s assigned to non-zero values. true. but when it's all zero, one cannot decide.

Definition at line 225 of file fib_types.h.

◆ fp_eos

mpls_eos_bit_t fib_prefix_t_::fp_eos

Definition at line 229 of file fib_types.h.

◆ fp_label

mpls_label_t fib_prefix_t_::fp_label

Definition at line 228 of file fib_types.h.

◆ fp_len

u16 fib_prefix_t_::fp_len

The mask length.

Definition at line 206 of file fib_types.h.

◆ fp_payload_proto

dpo_proto_t fib_prefix_t_::fp_payload_proto

This protocol determines the payload protocol of packets that will be forwarded by this entry once the label is popped.

For a non-eos entry it will be MPLS.

Definition at line 235 of file fib_types.h.

◆ fp_proto

fib_protocol_t fib_prefix_t_::fp_proto

protocol type

Definition at line 211 of file fib_types.h.


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