|
NDN-DPDK
High-Speed Named Data Networking Forwarder
|
Typedefs | |
| typedef enum ExtractResult | ExtractResult |
Enumerations | |
| enum | ExtractResult { ExtractResultNone , ExtractResultIPv4 , ExtractResultFaceID } |
| enum | { UlHdrLenBase , UlHdrLenIpv4 = UlHdrLenBase + sizeof(struct rte_ipv4_hdr) , UlHdrLenVlanIpv4 = UlHdrLenIpv4 + sizeof(struct rte_vlan_hdr) , UlHdrLenIpv6 = UlHdrLenBase + sizeof(struct rte_ipv6_hdr) , UlHdrLenVlanIpv6 = UlHdrLenIpv6 + sizeof(struct rte_vlan_hdr) } |
Functions | |
| N_LOG_INIT (EthGtpip) | |
| uint64_t | EthGtpip_ProcessDownlinkBulk (EthGtpip *g, struct rte_mbuf *pkts[], uint32_t count) |
| Process downlink packets. More... | |
| uint64_t | EthGtpip_ProcessUplinkBulk (EthGtpip *g, struct rte_mbuf *pkts[], uint32_t count) |
| Process uplink packets. More... | |
| typedef enum ExtractResult ExtractResult |
| enum ExtractResult |
| uint64_t EthGtpip_ProcessDownlinkBulk | ( | EthGtpip * | g, |
| struct rte_mbuf * | pkts[], | ||
| uint32_t | count | ||
| ) |
Process downlink packets.
| pkts | Ethernet frames received on N6 interface. |
| count | quantity of pkts , maximum is 64. |
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.
| uint64_t EthGtpip_ProcessUplinkBulk | ( | EthGtpip * | g, |
| struct rte_mbuf * | pkts[], | ||
| uint32_t | count | ||
| ) |
Process uplink packets.
| pkts | Ethernet frames received on N3 interface. |
| count | quantity of pkts , maximum is 64. |
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.
| N_LOG_INIT | ( | EthGtpip | ) |