arphdr Struct Reference

#include <if_arp.h>


Data Fields

unsigned short ar_hrd
 format of hardware address
unsigned short ar_pro
 format of protocol address
unsigned char ar_hln
 length of hardware address
unsigned char ar_pln
 length of protocol address
unsigned short ar_op
 ARP opcode (command).


Detailed Description

Address Resolution Protocol.

See RFC 826 for protocol description. ARP packets are variable in size; the arphdr structure defines the fixed-length portion. Protocol type values are the same as those for 10 Mb/s Ethernet. It is followed by the variable-sized fields ar_sha, arp_spa, arp_tha and arp_tpa in that order, according to the lengths specified. Field names used correspond to RFC 826.

Definition at line 59 of file if_arp.h.


Field Documentation

unsigned char arphdr::ar_hln

length of hardware address

Definition at line 62 of file if_arp.h.

unsigned short arphdr::ar_hrd

format of hardware address

Definition at line 60 of file if_arp.h.

unsigned short arphdr::ar_op

ARP opcode (command).

Definition at line 64 of file if_arp.h.

unsigned char arphdr::ar_pln

length of protocol address

Definition at line 63 of file if_arp.h.

unsigned short arphdr::ar_pro

format of protocol address

Definition at line 61 of file if_arp.h.


The documentation for this struct was generated from the following file:
Generated on Mon May 1 21:47:02 2006 for KernelAPI by  doxygen 1.4.6-5