iPXE
Data Fields
arphdr Struct Reference

An ARP header. More...

#include <if_arp.h>

Data Fields

uint16_t ar_hrd
 Link-layer protocol. More...
 
uint16_t ar_pro
 Network-layer protocol. More...
 
uint8_t ar_hln
 Link-layer address length. More...
 
uint8_t ar_pln
 Network-layer address length. More...
 
uint16_t ar_op
 ARP opcode. More...
 

Detailed Description

An ARP header.

This contains only the fixed-size portions of an ARP header; for other fields use the arp_{sender,target}_{ha,pa} family of functions.

Definition at line 47 of file if_arp.h.

Field Documentation

◆ ar_hrd

uint16_t arphdr::ar_hrd

Link-layer protocol.

This is an ARPHRD_XXX constant

Definition at line 52 of file if_arp.h.

Referenced by arp_rx(), arp_tx_request(), gdbudp_recv(), ipoib_translate_rx_arp(), and ipoib_translate_tx_arp().

◆ ar_pro

uint16_t arphdr::ar_pro

Network-layer protocol.

This is, for Ethernet, an ETH_P_XXX constant.

Definition at line 57 of file if_arp.h.

Referenced by arp_rx(), arp_tx_request(), and gdbudp_recv().

◆ ar_hln

uint8_t arphdr::ar_hln

Link-layer address length.

Definition at line 59 of file if_arp.h.

Referenced by arp_len(), arp_rx(), arp_sender_pa(), arp_target_pa(), arp_tx_request(), gdbudp_recv(), ipoib_translate_rx_arp(), and ipoib_translate_tx_arp().

◆ ar_pln

uint8_t arphdr::ar_pln

Network-layer address length.

Definition at line 61 of file if_arp.h.

Referenced by arp_len(), arp_rx(), arp_target_ha(), arp_tx_request(), gdbudp_recv(), ipoib_translate_rx_arp(), and ipoib_translate_tx_arp().

◆ ar_op

uint16_t arphdr::ar_op

ARP opcode.

Definition at line 63 of file if_arp.h.

Referenced by arp_rx(), arp_tx_request(), gdbudp_recv(), ipoib_translate_rx_arp(), and ipoib_translate_tx_arp().


The documentation for this struct was generated from the following file: