DPDK  20.11.10
Data Structures | Functions | Variables
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


__rte_experimental struct rte_mbufrte_net_make_rarp_packet (struct rte_mempool *mpool, const struct rte_ether_addr *mac)


struct rte_ether_addr arp_sha
uint32_t arp_sip
struct rte_ether_addr arp_tha
uint32_t arp_tip

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 
EXPERIMENTAL: this API may change without prior notice

Make a RARP packet based on MAC addr.

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

Variable Documentation

◆ arp_sha

struct rte_ether_addr arp_sha

sender hardware address

Definition at line 74 of file rte_arp.h.

◆ arp_sip

uint32_t arp_sip

sender IP address

Definition at line 75 of file rte_arp.h.

◆ arp_tha

struct rte_ether_addr arp_tha

target hardware address

Definition at line 76 of file rte_arp.h.

◆ arp_tip

uint32_t arp_tip

target IP address

Definition at line 77 of file rte_arp.h.