summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_pcb.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_pcb.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_pcb.h')
-rw-r--r--sys/netinet/in_pcb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index 9893af6..96521e4 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -142,6 +142,7 @@ struct inpcb {
#define INP_IPV6 0x2
#define INP_IPV6PROTO 0x4 /* opened under IPv6 protocol */
#define INP_TIMEWAIT 0x8 /* .. probably doesn't go here */
+#define INP_ONESBCAST 0x10 /* send all-ones broadcast */
u_char inp_ip_ttl; /* time to live proto */
u_char inp_ip_p; /* protocol proto */
OpenPOWER on IntegriCloud