NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
rxmatch.c File Reference
#include "rxmatch.h"
#include "hdr-impl.h"

Macros

#define BUF_TAIL   (RTE_PTR_ADD(match->buf, match->len))

Functions

EthRxMatchResult EthRxMatch_MatchGtpInner (const EthRxMatch *match, const struct rte_mbuf *m)
 Check GTP-U inner headers only.
void EthRxMatch_Prepare (EthRxMatch *match, const EthLocator *loc)
 Prepare RX matcher from locator.

Variables

const EthRxMatch_MatchFunc EthRxMatch_MatchJmp []

Macro Definition Documentation

◆ BUF_TAIL

#define BUF_TAIL   (RTE_PTR_ADD(match->buf, match->len))

Function Documentation

◆ EthRxMatch_MatchGtpInner()

EthRxMatchResult EthRxMatch_MatchGtpInner ( const EthRxMatch * match,
const struct rte_mbuf * m )

Check GTP-U inner headers only.

Parameters
matchEthRxMatch prepared from GTP-U locator.
mmbuf with sufficient data_len.

◆ EthRxMatch_Prepare()

void EthRxMatch_Prepare ( EthRxMatch * match,
const EthLocator * loc )

Prepare RX matcher from locator.

Variable Documentation

◆ EthRxMatch_MatchJmp

const EthRxMatch_MatchFunc EthRxMatch_MatchJmp[]
Initial value:
= {
[EthRxMatchActAlways] = MatchAlways,
[EthRxMatchActEtherUnicast] = MatchEtherUnicast,
[EthRxMatchActEtherMulticast] = MatchEtherMulticast,
[EthRxMatchActUdp] = MatchIpUdp,
[EthRxMatchActVxlan] = MatchVxlan,
[EthRxMatchActGtp] = MatchGtp,
}
EthRxMatchActUdp
Definition rxmatch.h:12
EthRxMatchActVxlan
Definition rxmatch.h:13
EthRxMatchActEtherUnicast
Definition rxmatch.h:10
EthRxMatchActAlways
Definition rxmatch.h:9
EthRxMatchActGtp
Definition rxmatch.h:14
EthRxMatchActEtherMulticast
Definition rxmatch.h:11