Changeset 183 for trunk/src/emx/include/net/if_arp.h
- Timestamp:
- May 19, 2003, 4:41:00 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/src/emx/include/net/if_arp.h (modified) (6 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/net/if_arp.h
-
Property cvs2svn:cvs-rev
changed from
1.1to1.2
r182 r183 1 1 /* Modified for emx by hv 1994,1996 2 2 3 * 3 4 * Copyright (c) 1986 Regents of the University of California. … … 49 50 * specified. Field names used correspond to RFC 826. 50 51 */ 52 53 54 51 55 struct arphdr { 52 56 u_short ar_hrd; /* format of hardware address */ 53 57 #define ARPHRD_ETHER 1 /* ethernet hardware address */ 54 58 #define ARPHRD_802 6 /* 802 net hardware address */ 59 60 61 55 62 u_short ar_pro; /* format of protocol address */ 56 63 u_char ar_hln; /* length of hardware address */ … … 59 66 #define ARPOP_REQUEST 1 /* request to resolve address */ 60 67 #define ARPOP_REPLY 2 /* response to previous request */ 68 69 70 71 72 73 74 61 75 #define REVARP_REQUEST 3 /* reverse ARP request (not IBM) */ 62 76 #define REVARP_REPLY 4 /* reverse ARP reply (not IBM) */ 77 63 78 /* 64 79 * The remaining fields are variable in size, … … 70 85 /* u_char ar_tpa[]; * target protocol address */ 71 86 }; 87 88 89 72 90 73 91 /* 74 92 * ARP ioctl request 75 93 */ 94 95 96 76 97 struct arpreq { 77 98 struct sockaddr arp_pa; /* protocol address */ … … 79 100 int arp_flags; /* flags */ 80 101 }; 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 81 121 /* arp_flags and at_flags field values */ 82 122 #define ATF_INUSE 0x01 /* entry in use */ … … 85 125 #define ATF_PUBL 0x08 /* publish entry (respond for other host) */ 86 126 #define ATF_USETRAILERS 0x10 /* has requested trailers */ 127 128 129 87 130 88 131 #endif /* !_NET_IF_ARP_H_ */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
