DPDK  19.08.0-rc0
Data Structures | Functions
rte_arp.h File Reference
#include <stdint.h>
#include <rte_ether.h>

Go to the source code of this file.

Data Structures

struct  rte_arp_ipv4
 
struct  rte_arp_hdr
 

Functions

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

Detailed Description

ARP-related defines

Definition in file rte_arp.h.

Function Documentation

◆ rte_net_make_rarp_packet()

struct rte_mbuf* __rte_experimental rte_net_make_rarp_packet ( struct rte_mempool mpool,
const struct rte_ether_addr mac 
)
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