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

Functions

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

Variables

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()

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

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

Variable Documentation

◆ arp_sha

struct rte_ether_addr arp_sha

sender hardware address

Definition at line 0 of file rte_arp.h.

◆ arp_sip

uint32_t arp_sip

sender IP address

Definition at line 1 of file rte_arp.h.

◆ arp_tha

struct rte_ether_addr arp_tha

target hardware address

Definition at line 2 of file rte_arp.h.

◆ arp_tip

uint32_t arp_tip

target IP address

Definition at line 3 of file rte_arp.h.