1#ifndef NDNDPDK_ETHFACE_XDP_LOCATOR_H
2#define NDNDPDK_ETHFACE_XDP_LOCATOR_H
8#define RTE_FORCE_INTRINSICS
47 struct rte_gtp_hdr
hdr;
48 struct rte_gtp_hdr_ext_word
ext;
49 struct rte_gtp_psc_generic_hdr
psc;
59__attribute__((nonnull))
static __rte_always_inline
bool
69__attribute__((nonnull))
void
struct __rte_packed_begin vlanhdr __rte_packed_end
GTP-U header with PDU session container.
Definition xdp-locator.h:46
struct rte_gtp_psc_generic_hdr psc
Definition xdp-locator.h:49
struct rte_gtp_hdr_ext_word ext
Definition xdp-locator.h:48
struct rte_gtp_hdr hdr
Definition xdp-locator.h:47
uint8_t next
Definition xdp-locator.h:50
EthFace address information.
Definition locator.h:10
Overwritten header after matching in XDP program.
Definition xdp-locator.h:39
uint64_t magic
UINT64_MAX.
Definition xdp-locator.h:40
uint32_t fmv
face_map value
Definition xdp-locator.h:41
uint16_t hdrLen
header length
Definition xdp-locator.h:42
EthFace address matcher in XDP program.
Definition xdp-locator.h:19
uint16_t udpDst
outer UDP destination port (big endian)
Definition xdp-locator.h:33
uint16_t vlan
VLAN identifier (big endian).
Definition xdp-locator.h:31
uint8_t ether[2 *6]
outer Ethernet destination and source
Definition xdp-locator.h:34
uint8_t vni[3]
VXLAN Network Identifier (big endian).
Definition xdp-locator.h:22
uint8_t ip[2 *16]
outer IPv4/IPv6 source and destination
Definition xdp-locator.h:35
uint32_t teid
GTPv1U Tunnel Endpoint Identifier (big endian).
Definition xdp-locator.h:27
uint8_t qfi
GTPv1U QoS Flow Identifier.
Definition xdp-locator.h:28
uint8_t inner[2 *6]
inner Ethernet destination and source
Definition xdp-locator.h:24
uint8_t rsvd1
must be zero
Definition xdp-locator.h:23
uint16_t udpSrc
outer UDP source port (big endian, 0 for VXLAN/GTP)
Definition xdp-locator.h:32
@ EthGtpExtTypePsc
Value of EthGtpHdr.ext.next_ext .
Definition xdp-locator.h:55
void EthXdpLocator_Prepare(EthXdpLocator *xl, const EthLocator *loc)
Prepare XDP locator from locator.
Definition xdp-locator.c:7