NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
EthXdpLocator Struct Reference

EthFace address matcher in XDP program. More...

#include <xdp-locator.h>

Data Fields

union {
   struct {
      uint8_t   vni [3]
 VXLAN Network Identifier (big endian) More...
 
      uint8_t   rsvd1
 must be zero More...
 
      uint8_t   inner [2 *6]
 inner Ethernet destination and source More...
 
   }   vx
 
   struct {
      uint32_t   teid
 GTPv1U Tunnel Endpoint Identifier (big endian) More...
 
      uint8_t   qfi
 GTPv1U QoS Flow Identifier. More...
 
   }   gtp
 
}; 
 
uint16_t vlan
 VLAN identifier (big endian) More...
 
uint16_t udpSrc
 outer UDP source port (big endian, 0 for VXLAN/GTP) More...
 
uint16_t udpDst
 outer UDP destination port (big endian) More...
 
uint8_t ether [2 *6]
 outer Ethernet destination and source More...
 
uint8_t ip [2 *16]
 outer IPv4/IPv6 source and destination More...
 

Detailed Description

EthFace address matcher in XDP program.

Unused fields must be zero.

Field Documentation

◆ 

union { ... }

◆ ether

uint8_t EthXdpLocator::ether[2 *6]

outer Ethernet destination and source

◆ 

struct { ... } EthXdpLocator::gtp

◆ inner

uint8_t EthXdpLocator::inner[2 *6]

inner Ethernet destination and source

◆ ip

uint8_t EthXdpLocator::ip[2 *16]

outer IPv4/IPv6 source and destination

◆ qfi

uint8_t EthXdpLocator::qfi

GTPv1U QoS Flow Identifier.

◆ rsvd1

uint8_t EthXdpLocator::rsvd1

must be zero

◆ teid

uint32_t EthXdpLocator::teid

GTPv1U Tunnel Endpoint Identifier (big endian)

◆ udpDst

uint16_t EthXdpLocator::udpDst

outer UDP destination port (big endian)

◆ udpSrc

uint16_t EthXdpLocator::udpSrc

outer UDP source port (big endian, 0 for VXLAN/GTP)

◆ vlan

uint16_t EthXdpLocator::vlan

VLAN identifier (big endian)

◆ vni

uint8_t EthXdpLocator::vni[3]

VXLAN Network Identifier (big endian)

◆ 

struct { ... } EthXdpLocator::vx

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