FD.io VPP  v17.07.01-10-g3be13f0
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 160 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 183 of file fib_types.h.

mpls_eos_bit_t fib_prefix_t_::fp_eos

Definition at line 187 of file fib_types.h.

mpls_label_t fib_prefix_t_::fp_label

Definition at line 186 of file fib_types.h.

u16 fib_prefix_t_::fp_len

The mask length.

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

fib_protocol_t fib_prefix_t_::fp_proto

protocol type

Definition at line 169 of file fib_types.h.


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