DPDK: Data Plane Development Kit

18.08.0-rc0
rte_arp.h File Reference
#include <stdint.h>
#include <rte_ether.h>

Go to the source code of this file.

Data Structures

struct  arp_ipv4
struct  arp_hdr

Functions

struct rte_mbuf *__rte_experimental rte_net_make_rarp_packet (struct rte_mempool *mpool, const struct ether_addr *mac)

Detailed Description

ARP-related defines

Definition in file rte_arp.h.

Function Documentation

struct rte_mbuf* __rte_experimental rte_net_make_rarp_packet ( struct rte_mempool mpool,
const struct ether_addr mac 
)
read
Warning
EXPERIMENTAL: this API may change without prior notice

Make a RARP packet based on MAC addr.

Parameters
mpoolPointer to the rte_mempool
macPointer to the MAC addr
Returns
  • RARP packet pointer on success, or NULL on error