diff options
author | peter <peter@FreeBSD.org> | 1995-07-18 09:56:44 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-07-18 09:56:44 +0000 |
commit | 8424d675bc800cef5b661fa40603ec3836315fc7 (patch) | |
tree | 138ac41c38124e476ab8920832c30c03e5fe0d60 /sys/netinet/in.h | |
parent | 5105427ac0aae405dfc58fee4fbcb81902fb92d2 (diff) | |
download | FreeBSD-src-8424d675bc800cef5b661fa40603ec3836315fc7.zip FreeBSD-src-8424d675bc800cef5b661fa40603ec3836315fc7.tar.gz |
Change the compile-time option of DIRECTED_BROADCAST into a sysctl
variable underneath ip, "directed-broadcast".
Reviewed by: David Greenman
Obtained from: NetBSD, by Darren Reed.
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 80c5b2b..53fd103 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in.h 8.3 (Berkeley) 1/3/94 - * $Id: in.h,v 1.9 1995/03/16 18:22:26 wollman Exp $ + * $Id: in.h,v 1.10 1995/06/13 17:51:08 wollman Exp $ */ #ifndef _NETINET_IN_H_ @@ -232,7 +232,8 @@ struct ip_mreq { #define IPCTL_RTMINEXPIRE 6 /* min value for expiration time */ #define IPCTL_RTMAXCACHE 7 /* trigger level for dynamic expire */ #define IPCTL_SOURCEROUTE 8 /* may perform source routes */ -#define IPCTL_MAXID 9 +#define IPCTL_DIRECTEDBROADCAST 9 /* may re-broadcast received packets */ +#define IPCTL_MAXID 10 #define IPCTL_NAMES { \ { 0, 0 }, \ @@ -244,6 +245,7 @@ struct ip_mreq { { "rtminexpire", CTLTYPE_INT }, \ { "rtmaxcache", CTLTYPE_INT }, \ { "sourceroute", CTLTYPE_INT }, \ + { "directed-broadcast", CTLTYPE_INT }, \ } |