NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
xdp-locator.h File Reference
#include "../core/common.h"
#include <rte_gtp.h>

Go to the source code of this file.

Data Structures

struct  EthXdpLocator
 EthFace address matcher in XDP program. More...
struct  EthXdpHdr
 Overwritten header after matching in XDP program. More...
struct  EthGtpHdr
 GTP-U header with PDU session container. More...

Typedefs

typedef struct __rte_packed_begin EthXdpLocator EthXdpLocator
 EthFace address matcher in XDP program.
typedef struct __rte_packed_begin EthXdpHdr EthXdpHdr
 Overwritten header after matching in XDP program.
typedef struct __rte_packed_begin EthGtpHdr EthGtpHdr
 GTP-U header with PDU session container.

Enumerations

enum  { EthGtpExtTypePsc = 0x85 }

Functions

void EthXdpLocator_Prepare (EthXdpLocator *xl, const EthLocator *loc)
 Prepare XDP locator from locator.

Typedef Documentation

◆ EthGtpHdr

typedef struct __rte_packed_begin EthGtpHdr EthGtpHdr

GTP-U header with PDU session container.

◆ EthXdpHdr

typedef struct __rte_packed_begin EthXdpHdr EthXdpHdr

Overwritten header after matching in XDP program.

◆ EthXdpLocator

typedef struct __rte_packed_begin EthXdpLocator EthXdpLocator

EthFace address matcher in XDP program.

Unused fields must be zero.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
EthGtpExtTypePsc 

Value of EthGtpHdr.ext.next_ext .

Function Documentation

◆ EthXdpLocator_Prepare()

void EthXdpLocator_Prepare ( EthXdpLocator * xl,
const EthLocator * loc )

Prepare XDP locator from locator.