|
NDN-DPDK
High-Speed Named Data Networking Forwarder
|
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... | |
EthFace address matcher in XDP program.
Unused fields must be zero.
| union { ... } |
| uint8_t EthXdpLocator::ether[2 *6] |
outer Ethernet destination and source
| struct { ... } EthXdpLocator::gtp |
| uint8_t EthXdpLocator::inner[2 *6] |
inner Ethernet destination and source
| uint8_t EthXdpLocator::ip[2 *16] |
outer IPv4/IPv6 source and destination
| uint8_t EthXdpLocator::qfi |
GTPv1U QoS Flow Identifier.
| uint8_t EthXdpLocator::rsvd1 |
must be zero
| uint32_t EthXdpLocator::teid |
GTPv1U Tunnel Endpoint Identifier (big endian)
| uint16_t EthXdpLocator::udpDst |
outer UDP destination port (big endian)
| uint16_t EthXdpLocator::udpSrc |
outer UDP source port (big endian, 0 for VXLAN/GTP)
| uint16_t EthXdpLocator::vlan |
VLAN identifier (big endian)
| uint8_t EthXdpLocator::vni[3] |
VXLAN Network Identifier (big endian)
| struct { ... } EthXdpLocator::vx |