update possible arp operations
authorKeith Sklower <sklower@ucbvax.Berkeley.EDU>
Thu, 15 Oct 1992 08:52:06 +0000 (00:52 -0800)
committerKeith Sklower <sklower@ucbvax.Berkeley.EDU>
Thu, 15 Oct 1992 08:52:06 +0000 (00:52 -0800)
SCCS-vsn: sys/net/if_arp.h 7.6

usr/src/sys/net/if_arp.h

index e6ba00a..0ce5a40 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)if_arp.h    7.5 (Berkeley) %G%
+ *     @(#)if_arp.h    7.6 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
  */
 struct arphdr {
        u_short ar_hrd;         /* format of hardware address */
  */
 struct arphdr {
        u_short ar_hrd;         /* format of hardware address */
-#define ARPHRD_ETHER   1       /* ethernet hardware address */
+#define ARPHRD_ETHER   1       /* ethernet hardware format */
+#define ARPHRD_FRELAY  15      /* frame relay hardware format */
        u_short ar_pro;         /* format of protocol address */
        u_char  ar_hln;         /* length of hardware address */
        u_char  ar_pln;         /* length of protocol address */
        u_short ar_op;          /* one of: */
 #define        ARPOP_REQUEST   1       /* request to resolve address */
 #define        ARPOP_REPLY     2       /* response to previous request */
        u_short ar_pro;         /* format of protocol address */
        u_char  ar_hln;         /* length of hardware address */
        u_char  ar_pln;         /* length of protocol address */
        u_short ar_op;          /* one of: */
 #define        ARPOP_REQUEST   1       /* request to resolve address */
 #define        ARPOP_REPLY     2       /* response to previous request */
+#define        ARPOP_REVREQUEST 3      /* request protocol address given hardware */
+#define        ARPOP_REVREPLY  4       /* response giving protocol address */
+#define ARPOP_INVREQUEST 8     /* request to identify peer */
+#define ARPOP_INVREPLY 9       /* response identifying peer */
 /*
  * The remaining fields are variable in size,
  * according to the sizes above.
 /*
  * The remaining fields are variable in size,
  * according to the sizes above.