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_resolve(), arp_rx(), and gdbudp_recv().

Network-layer protocol.

This is, for Ethernet, an ETH_P_XXX constant.

Definition at line 57 of file if_arp.h.

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

Link-layer address length.

Definition at line 59 of file if_arp.h.

Referenced by arp_resolve(), arp_rx(), arp_sender_pa(), arp_target_pa(), and gdbudp_recv().

Network-layer address length.

Definition at line 61 of file if_arp.h.

Referenced by arp_resolve(), arp_rx(), arp_target_ha(), and gdbudp_recv().

ARP opcode.

Definition at line 63 of file if_arp.h.

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


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

Generated on Tue Apr 6 20:02:02 2010 for gPXE by  doxygen 1.5.7.1