DPDK  19.11.14
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

__rte_experimental struct rte_mbufrte_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()

__rte_experimental struct rte_mbuf* 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