Nut/OS  4.10.3
API Reference
if_arp.h File Reference

ARP protocol header. More...

#include <sys/types.h>
#include <stdint.h>
Include dependency graph for if_arp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  arphdr
 ARP packet header structure. More...

Defines

#define ARPHRD_ETHER   1
 ethernet hardware format
#define ARPOP_REQUEST   1
 request to resolve address
#define ARPOP_REPLY   2
 response to previous request

Typedefs

typedef struct arphdr ARPHDR
 ARP packet header type.

Detailed Description

ARP protocol header.

See RFC 826 for protocol description.

Definition in file if_arp.h.


Define Documentation

#define ARPHRD_ETHER   1

ethernet hardware format

Definition at line 98 of file if_arp.h.

Referenced by NutArpAllocNetBuf(), and NutArpInput().

#define ARPOP_REQUEST   1

request to resolve address

Definition at line 100 of file if_arp.h.

Referenced by NutArpCacheQuery(), and NutArpInput().

#define ARPOP_REPLY   2

response to previous request

Definition at line 101 of file if_arp.h.

Referenced by NutArpInput().


Typedef Documentation

ARP packet header type.