Nut/OS  4.10.3
API Reference
arphdr Struct Reference

ARP packet header structure. More...

#include <net/if_arp.h>

Collaboration diagram for arphdr:

Data Fields

uint16_t ar_hrd
 Format of hardware address. Nut/Net supports ARPHRD_ETHER only.
uint16_t ar_pro
 Format of protocol address. Only ETHERTYPE_IP is supported by Nut/Net.
uint8_t ar_hln
 Length of hardware address.
uint8_t ar_pln
 Length of protocol address.
uint16_t ar_op
 ARP operation. May be either ARPOP_REQUEST or ARPOP_REPLY.

Detailed Description

ARP packet header structure.

Definition at line 111 of file if_arp.h.


Field Documentation

Format of hardware address. Nut/Net supports ARPHRD_ETHER only.

Definition at line 112 of file if_arp.h.

Referenced by NutArpAllocNetBuf(), and NutArpInput().

Format of protocol address. Only ETHERTYPE_IP is supported by Nut/Net.

Definition at line 115 of file if_arp.h.

Referenced by NutArpAllocNetBuf(), and NutArpInput().

Length of hardware address.

Definition at line 118 of file if_arp.h.

Referenced by NutArpAllocNetBuf(), and NutArpInput().

Length of protocol address.

Definition at line 119 of file if_arp.h.

Referenced by NutArpAllocNetBuf(), and NutArpInput().

ARP operation. May be either ARPOP_REQUEST or ARPOP_REPLY.

Definition at line 120 of file if_arp.h.

Referenced by NutArpAllocNetBuf(), and NutArpInput().


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