PERFORCE change 128354 for review
Kip Macy
kmacy at FreeBSD.org
Tue Oct 30 11:48:02 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=128354
Change 128354 by kmacy at kmacy_home:ethng on 2007/10/30 18:47:48
add INFINIBAND ARPHDR
Affected files ...
.. //depot/projects/ethng/src/sys/net/if_arp.h#2 edit
Differences ...
==== //depot/projects/ethng/src/sys/net/if_arp.h#2 (text+ko) ====
@@ -44,12 +44,14 @@
* specified. Field names used correspond to RFC 826.
*/
struct arphdr {
- u_short ar_hrd; /* format of hardware address */
-#define ARPHRD_ETHER 1 /* ethernet hardware format */
-#define ARPHRD_IEEE802 6 /* token-ring hardware format */
-#define ARPHRD_ARCNET 7 /* arcnet hardware format */
-#define ARPHRD_FRELAY 15 /* frame relay hardware format */
-#define ARPHRD_IEEE1394 24 /* firewire hardware format */
+ u_short ar_hrd; /* format of hardware address */
+#define ARPHRD_ETHER 1 /* ethernet hardware format */
+#define ARPHRD_IEEE802 6 /* token-ring hardware format */
+#define ARPHRD_ARCNET 7 /* arcnet hardware format */
+#define ARPHRD_FRELAY 15 /* frame relay hardware format */
+#define ARPHRD_IEEE1394 24 /* firewire hardware format */
+#define ARPHRD_INFINIBAND 32 /* InfiniBand */
+
u_short ar_pro; /* format of protocol address */
u_char ar_hln; /* length of hardware address */
u_char ar_pln; /* length of protocol address */
More information about the p4-projects
mailing list