FD.io VPP  v18.07.1-19-g511ce25
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 193 of file fib_types.h.

Field Documentation

union { ... }
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 216 of file fib_types.h.

mpls_eos_bit_t fib_prefix_t_::fp_eos

Definition at line 220 of file fib_types.h.

mpls_label_t fib_prefix_t_::fp_label

Definition at line 219 of file fib_types.h.

u16 fib_prefix_t_::fp_len

The mask length.

Definition at line 197 of file fib_types.h.

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

fib_protocol_t fib_prefix_t_::fp_proto

protocol type

Definition at line 202 of file fib_types.h.


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