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

VLAN Flow Table Entry. More...

#include <ofdpa_datatypes.h>

Data Fields

OFDPA_FLOW_TABLE_ID_t gotoTableId
 Goto-Table instruction.
 
ofdpaVlan1FlowMatch_t match_criteria
 
uint32_t mplsL2Port
 For MPLS L2 VPN classification.
 
uint32_t mplsL2PortAction
 If non-zero, set the MPLS L2 Port.
 
uint32_t mplsType
 MPLS Type value used in Set-field action.
 
uint32_t mplsTypeAction
 Non-zero value indicates Set-field MPLS Type.
 
uint16_t newTpid2
 The TPID for the new outer VLAN tag to be pushed.
 
uint16_t newVlanId
 VLAN ID for Set VLAN action of the inner/only VLAN tag.
 
uint16_t newVlanId2
 VLAN ID for Set VLAN action.
 
uint16_t pushVlan2Action
 If non-zero, push a new outer VLAN tag using data in newTpid field.
 
uint16_t setVlanId2Action
 If non-zero and flow contains pushVlan2Action, set the VLAN ID in the new tag.
 
uint16_t setVlanIdAction
 Apply Actions instruction.
 
uint32_t tunnelId
 For MPLS L2 VPN classification.
 
uint32_t tunnelIdAction
 If non-zero, set the Tunnel ID.
 
uint16_t vrf
 Must be the same in all rules for the same VLAN.
 
uint16_t vrfAction
 If non-zero, set the VRF.
 

Detailed Description

VLAN Flow Table Entry.

Definition at line 667 of file ofdpa_datatypes.h.

Field Documentation

OFDPA_FLOW_TABLE_ID_t ofdpaVlan1FlowEntry_s::gotoTableId

Goto-Table instruction.

valid tables: OFDPA_FLOW_TABLE_ID_TERMINATION_MAC OFDPA_FLOW_TABLE_ID_MPLS_L2_PORT OFDPA_FLOW_TABLE_ID_MAINTENANCE_POINT

Definition at line 680 of file ofdpa_datatypes.h.

uint32_t ofdpaVlan1FlowEntry_s::mplsL2Port

For MPLS L2 VPN classification.

Definition at line 696 of file ofdpa_datatypes.h.

uint32_t ofdpaVlan1FlowEntry_s::mplsL2PortAction

If non-zero, set the MPLS L2 Port.

Required for VPWS or VPLS.

Definition at line 695 of file ofdpa_datatypes.h.

uint16_t ofdpaVlan1FlowEntry_s::newTpid2

The TPID for the new outer VLAN tag to be pushed.

Definition at line 687 of file ofdpa_datatypes.h.

uint16_t ofdpaVlan1FlowEntry_s::newVlanId2

VLAN ID for Set VLAN action.

Definition at line 690 of file ofdpa_datatypes.h.

uint16_t ofdpaVlan1FlowEntry_s::pushVlan2Action

If non-zero, push a new outer VLAN tag using data in newTpid field.

Definition at line 686 of file ofdpa_datatypes.h.

uint16_t ofdpaVlan1FlowEntry_s::setVlanIdAction

Apply Actions instruction.

If non-zero, set the VLAN ID in the inner/only tag

Definition at line 683 of file ofdpa_datatypes.h.

uint32_t ofdpaVlan1FlowEntry_s::tunnelId

For MPLS L2 VPN classification.

Definition at line 699 of file ofdpa_datatypes.h.

uint32_t ofdpaVlan1FlowEntry_s::tunnelIdAction

If non-zero, set the Tunnel ID.

Definition at line 698 of file ofdpa_datatypes.h.

uint16_t ofdpaVlan1FlowEntry_s::vrf

Must be the same in all rules for the same VLAN.

Definition at line 693 of file ofdpa_datatypes.h.

uint16_t ofdpaVlan1FlowEntry_s::vrfAction

If non-zero, set the VRF.

Definition at line 692 of file ofdpa_datatypes.h.


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