|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __MPLS_LOOKUP_H__
17 #define __MPLS_LOOKUP_H__
50 u8 next_label_is_entropy;
57 next_label_is_entropy = 0;
65 if (1 == next_label_is_entropy)
78 next_label_is_entropy = 1;
95 switch (((
u8*)hdr)[0] >> 4)
static u32 vnet_mpls_uc_get_s(mpls_label_t label_exp_s_ttl)
static u32 vnet_mpls_uc_get_label(mpls_label_t label_exp_s_ttl)
u32 ip_flow_hash_router_id
static u32 ip6_compute_flow_hash(const ip6_header_t *ip, flow_hash_config_t flow_hash_config)
mpls_lookup_next_t_
Enum of statically configred MPLS lookup next nodes.
enum flow_hash_config_t_ flow_hash_config_t
A flow hash configuration is a mask of the flow hash options.
#define MPLS_IETF_ENTROPY_LABEL
static u32 mpls_compute_flow_hash(const mpls_unicast_header_t *hdr, flow_hash_config_t flow_hash_config)
static_always_inline u32 bier_compute_flow_hash(const bier_hdr_t *hdr)
static u32 ip4_compute_flow_hash(const ip4_header_t *ip, flow_hash_config_t flow_hash_config)
A BIER header of variable length The encoding follows: https://tools.ietf.org/html/draft-ietf-bier-mp...
u32 mpls_label_t
A label value only, i.e.
enum mpls_lookup_next_t_ mpls_lookup_next_t
Enum of statically configred MPLS lookup next nodes.
u32 mpls_lookup_to_replicate_edge
The arc/edge from the MPLS lookup node to the MPLS replicate node.