Nut/OS  5.0.5
API Reference
arphdr Struct Reference

ARP packet header structure. More...

#include <net/if_arp.h>

Collaboration diagram for arphdr:
[legend]

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.


Field Documentation

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

Referenced by NutArpAllocNetBuf(), and NutArpInput().

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

Referenced by NutArpAllocNetBuf(), and NutArpInput().

Length of hardware address.

Referenced by NutArpAllocNetBuf(), and NutArpInput().

Length of protocol address.

Referenced by NutArpAllocNetBuf(), and NutArpInput().

ARP operation. May be either ARPOP_REQUEST or ARPOP_REPLY.

Referenced by NutArpAllocNetBuf(), and NutArpInput().


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