DPDK
23.03.0
|
Go to the source code of this file.
Data Structures | |
struct | rte_arp_ipv4 |
struct | rte_arp_hdr |
Macros | |
#define | RTE_ARP_HRD_ETHER 1 |
#define | RTE_ARP_OP_REQUEST 1 |
#define | RTE_ARP_OP_REPLY 2 |
#define | RTE_ARP_OP_REVREQUEST 3 |
#define | RTE_ARP_OP_REVREPLY 4 |
#define | RTE_ARP_OP_INVREQUEST 8 |
#define | RTE_ARP_OP_INVREPLY 9 |
Functions | |
struct rte_mbuf * | rte_net_make_rarp_packet (struct rte_mempool *mpool, const struct rte_ether_addr *mac) |
Variables | |
struct rte_ether_addr | arp_sha |
rte_be32_t | arp_sip |
struct rte_ether_addr | arp_tha |
rte_be32_t | arp_tip |
rte_be16_t | arp_hardware |
rte_be16_t | arp_protocol |
uint8_t | arp_hlen |
uint8_t | arp_plen |
rte_be16_t | arp_opcode |
ARP-related defines
Definition in file rte_arp.h.
#define RTE_ARP_HRD_ETHER 1 |
ARP Ethernet address format
#define RTE_ARP_OP_REQUEST 1 |
#define RTE_ARP_OP_REPLY 2 |
response to previous request
#define RTE_ARP_OP_REVREQUEST 3 |
#define RTE_ARP_OP_REVREPLY 4 |
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.
mpool | Pointer to the rte_mempool |
mac | Pointer to the MAC addr |
struct rte_ether_addr arp_sha |
rte_be32_t arp_sip |
struct rte_ether_addr arp_tha |
rte_be32_t arp_tip |
rte_be16_t arp_hardware |
rte_be16_t arp_protocol |
rte_be16_t arp_opcode |