#include "../dpdk/hashtable.h"
#include "../dpdk/mbuf.h"
#include "../iface/faceid.h"
#include <rte_ether.h>
Go to the source code of this file.
◆ EthGtpip
◆ EthGtpip_ProcessDownlinkBulk()
uint64_t EthGtpip_ProcessDownlinkBulk |
( |
EthGtpip * |
g, |
|
|
struct rte_mbuf * |
pkts[], |
|
|
uint32_t |
count |
|
) |
| |
Process downlink packets.
- Parameters
-
pkts | Ethernet frames received on N6 interface. |
count | quantity of pkts , maximum is 64. |
- Returns
- bitset of accepted packets.
If a packet carries IP traffic that matches a known UE in g
, its Ethernet header is removed and then the packet is encapsulated in GTP-U tunnel by prepending outer Ethernet + outer IP + outer UDP + GTPv1 headers.
◆ EthGtpip_ProcessUplinkBulk()
uint64_t EthGtpip_ProcessUplinkBulk |
( |
EthGtpip * |
g, |
|
|
struct rte_mbuf * |
pkts[], |
|
|
uint32_t |
count |
|
) |
| |
Process uplink packets.
- Parameters
-
pkts | Ethernet frames received on N3 interface. |
count | quantity of pkts , maximum is 64. |
- Returns
- bitset of accepted packets.
If a packet carries GTP-U traffic that matches a known UE in g
, its outer Ethernet + outer IP + outer UDP + GTPv1 headers are removed, and then a new Ethernet header is prepended.