FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
fib_prefix_t_ Struct Reference

Aggregrate 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

Aggregrate type for a prefix.

Definition at line 203 of file fib_types.h.

Field Documentation

◆ @183

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 226 of file fib_types.h.

◆ fp_eos

mpls_eos_bit_t fib_prefix_t_::fp_eos

Definition at line 230 of file fib_types.h.

◆ fp_label

mpls_label_t fib_prefix_t_::fp_label

Definition at line 229 of file fib_types.h.

◆ fp_len

u16 fib_prefix_t_::fp_len

The mask length.

Definition at line 207 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 236 of file fib_types.h.

◆ fp_proto

fib_protocol_t fib_prefix_t_::fp_proto

protocol type

Definition at line 212 of file fib_types.h.


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