OpenFlow Data Plane Abstraction (OF-DPA) API Guide and Reference Manual
Data Fields
ofdpaMplsFlowMatch_s Struct Reference

MPLS Flow Table Match. More...

#include <ofdpa_datatypes.h>

Data Fields

in_addr_t destIp4
 Destination IPv4.
 
in_addr_t destIp4Mask
 
struct in6_addr destIp6
 Destination IPv6.
 
struct in6_addr destIp6Mask
 
uint16_t etherType
 Ethertype.
 
uint32_t inPort
 OpenFlow Ingress Port number.
 
uint32_t inPortMask
 
uint8_t ipProto
 Only used for L3 VPN BFD rules as pre-requisite for matching UDP ports.
 
uint8_t ipProtoMask
 
uint16_t mplsAchChannel
 MPLS ACH Channel.
 
uint16_t mplsAchChannelMask
 
uint16_t mplsBos
 Bottom of Stack.
 
uint8_t mplsDataFirstNibble
 MPLS Data First Nibble.
 
uint8_t mplsDataFirstNibbleMask
 
uint32_t mplsLabel
 Outermost MPLS label, 20 bits used.
 
uint8_t mplsTtl
 MPLS TTL.
 
uint8_t mplsTtlMask
 
uint8_t nextLabelIsGal
 Next Label is GAL.
 
uint8_t nextLabelIsGalMask
 
uint16_t udpDstPort
 Only used for L3 VPN BFD rules to match specific BFD.
 
uint16_t udpDstPortMask
 
uint16_t udpSrcPort
 Only used for L3 VPN BFD rules to match specific BFD.
 
uint16_t udpSrcPortMask
 

Detailed Description

MPLS Flow Table Match.

Definition at line 859 of file ofdpa_datatypes.h.

Field Documentation

in_addr_t ofdpaMplsFlowMatch_s::destIp4

Destination IPv4.

Definition at line 895 of file ofdpa_datatypes.h.

uint16_t ofdpaMplsFlowMatch_s::etherType

Ethertype.

Must be 0x8847

Definition at line 862 of file ofdpa_datatypes.h.

uint8_t ofdpaMplsFlowMatch_s::ipProto

Only used for L3 VPN BFD rules as pre-requisite for matching UDP ports.

Otherwise must be omitted.

Definition at line 904 of file ofdpa_datatypes.h.

uint16_t ofdpaMplsFlowMatch_s::mplsAchChannel

MPLS ACH Channel.

Parsed from ACH Channel Type field if MPLS_DATA_FIRST_NIBBLE is 1. Only value is 0x8902, which is for BHH.

Definition at line 887 of file ofdpa_datatypes.h.

uint16_t ofdpaMplsFlowMatch_s::mplsBos

Bottom of Stack.

Definition at line 865 of file ofdpa_datatypes.h.

uint8_t ofdpaMplsFlowMatch_s::mplsDataFirstNibble

MPLS Data First Nibble.

High order 4 bits of control word. 0000b for CW, 0001b for ACH.

Definition at line 881 of file ofdpa_datatypes.h.

uint8_t ofdpaMplsFlowMatch_s::mplsTtl

MPLS TTL.

TTL = 1 is the only value matched, drop unless an OAM PDU (NEXT_LABEL_IS_GAL)

Definition at line 876 of file ofdpa_datatypes.h.

uint8_t ofdpaMplsFlowMatch_s::nextLabelIsGal

Next Label is GAL.

Parser peeks at next label, detects GAL and MPLS_BOS.

Definition at line 891 of file ofdpa_datatypes.h.


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