summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2003-08-20 14:46:40 +0000
committerbms <bms@FreeBSD.org>2003-08-20 14:46:40 +0000
commit3af3c5ae44ef98b9f2da135dcb64cfc12acd0f39 (patch)
treeb0740a95462efb0df015bc34d5d05f5d96cd2f3b /sys/netinet/in.h
parent5546ba50272e71097a2f7c6b9fbec902cf58c4ea (diff)
downloadFreeBSD-src-3af3c5ae44ef98b9f2da135dcb64cfc12acd0f39.zip
FreeBSD-src-3af3c5ae44ef98b9f2da135dcb64cfc12acd0f39.tar.gz
Add the IP_ONESBCAST option, to enable undirected IP broadcasts to be sent on
specific interfaces. This is required by aodvd, and may in future help us in getting rid of the requirement for BPF from our import of isc-dhcp. Suggested by: fenestro Obtained from: BSD/OS Reviewed by: mini, sam Approved by: jake (mentor)
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index 63bd1ce..8aafb24 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -388,6 +388,8 @@ __END_DECLS
#define IP_IPSEC_POLICY 21 /* int; set/get security policy */
#define IP_FAITH 22 /* bool; accept FAITH'ed connections */
+#define IP_ONESBCAST 23 /* bool: send all-ones broadcast */
+
#define IP_FW_ADD 50 /* add a firewall rule to chain */
#define IP_FW_DEL 51 /* delete a firewall rule from chain */
#define IP_FW_FLUSH 52 /* flush firewall rule chain */
OpenPOWER on IntegriCloud