Go to the source code of this file.
◆ ar_sha
#define ar_sha |
( |
|
ap | ) |
(((const u_char *)((ap)+1))+0) |
Definition at line 60 of file arp.h.
◆ ar_spa
#define ar_spa |
( |
|
ap | ) |
(((const u_char *)((ap)+1))+ (ap)->ar_hln) |
Definition at line 61 of file arp.h.
◆ ar_tha
#define ar_tha |
( |
|
ap | ) |
(((const u_char *)((ap)+1))+ (ap)->ar_hln+(ap)->ar_pln) |
Definition at line 62 of file arp.h.
◆ ar_tpa
#define ar_tpa |
( |
|
ap | ) |
(((const u_char *)((ap)+1))+2*(ap)->ar_hln+(ap)->ar_pln) |
Definition at line 63 of file arp.h.
◆ ARP_HDRLEN
Definition at line 66 of file arp.h.
◆ ARPHRD_ARCNET
#define ARPHRD_ARCNET 7 /* arcnet hardware format */ |
Definition at line 36 of file arp.h.
◆ ARPHRD_ETHER
#define ARPHRD_ETHER 1 /* ethernet hardware format */ |
Definition at line 34 of file arp.h.
◆ ARPHRD_FRELAY
#define ARPHRD_FRELAY 15 /* frame relay hardware format */ |
Definition at line 37 of file arp.h.
◆ ARPHRD_IEEE1394
#define ARPHRD_IEEE1394 24 /* IEEE 1394 (FireWire) hardware format */ |
Definition at line 39 of file arp.h.
◆ ARPHRD_IEEE802
#define ARPHRD_IEEE802 6 /* token-ring hardware format */ |
Definition at line 35 of file arp.h.
◆ ARPHRD_STRIP
#define ARPHRD_STRIP 23 /* Ricochet Starmode Radio hardware format */ |
Definition at line 38 of file arp.h.
◆ ARPOP_INVREPLY
#define ARPOP_INVREPLY 9 /* response identifying peer */ |
Definition at line 49 of file arp.h.
◆ ARPOP_INVREQUEST
#define ARPOP_INVREQUEST 8 /* request to identify peer */ |
Definition at line 48 of file arp.h.
◆ ARPOP_REPLY
#define ARPOP_REPLY 2 /* response to previous request */ |
Definition at line 45 of file arp.h.
◆ ARPOP_REQUEST
#define ARPOP_REQUEST 1 /* request to resolve address */ |
Definition at line 44 of file arp.h.
◆ ARPOP_REVREPLY
#define ARPOP_REVREPLY 4 /* response giving protocol address */ |
Definition at line 47 of file arp.h.
◆ ARPOP_REVREQUEST
#define ARPOP_REVREQUEST 3 /* request protocol address given hardware */ |
Definition at line 46 of file arp.h.
◆ HLN
#define HLN |
( |
|
ap | ) |
((ap)->ar_hln) |
Definition at line 69 of file arp.h.
◆ HRD
Definition at line 68 of file arp.h.
◆ OP
Definition at line 71 of file arp.h.
◆ PLN
#define PLN |
( |
|
ap | ) |
((ap)->ar_pln) |
Definition at line 70 of file arp.h.
◆ PRO
Definition at line 72 of file arp.h.
◆ SHA
#define SHA |
( |
|
ap | ) |
(ar_sha(ap)) |
Definition at line 73 of file arp.h.
◆ SPA
#define SPA |
( |
|
ap | ) |
(ar_spa(ap)) |
Definition at line 74 of file arp.h.
◆ THA
#define THA |
( |
|
ap | ) |
(ar_tha(ap)) |
Definition at line 75 of file arp.h.
◆ TPA
#define TPA |
( |
|
ap | ) |
(ar_tpa(ap)) |
Definition at line 76 of file arp.h.