summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>1999-05-16 00:34:41 +0000
committerHakan Olsson <ho@cvs.openbsd.org>1999-05-16 00:34:41 +0000
commit87c8f786714c5303ccbfdfb14a7ca9187d2c628a (patch)
tree44df7a53f1917db049162d24e4df932ca0204db9 /sys/netinet/if_ether.h
parent69e273b6e408b475b68b9bc9d349cb7f54ea890d (diff)
Add support for static ARP entries that cannot be overwritten.
Ordinary static ARPs that are overwritten will no longer still be static.
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 39b73b5a3f2..c780d8aa081 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.h,v 1.6 1999/01/07 09:11:52 deraadt Exp $ */
+/* $OpenBSD: if_ether.h,v 1.7 1999/05/16 00:34:40 ho Exp $ */
/* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */
/*
@@ -148,8 +148,9 @@ struct sockaddr_inarp {
/*
* IP and ethernet specific routing flags
*/
-#define RTF_USETRAILERS RTF_PROTO1 /* use trailers */
-#define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */
+#define RTF_USETRAILERS RTF_PROTO1 /* use trailers */
+#define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */
+#define RTF_PERMANENT_ARP RTF_PROTO3 /* only manual overwrite of entry */
#ifdef _KERNEL
u_int8_t etherbroadcastaddr[ETHER_ADDR_LEN];