iPXE
Data Fields
arphdr Struct Reference

An ARP header. More...

#include <if_arp.h>

Data Fields

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

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

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

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

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

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

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: