diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-09 23:36:32 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-09 23:36:32 +0000 |
commit | 00044cdf00f6574a29f0961b4746b80f7926ba78 (patch) | |
tree | 8ee1c0443504b7834fed8e070fb8536e8b15561a /sys/netinet/udp_var.h | |
parent | 812760c22318b1d16957febbc72e980ec5505778 (diff) |
The list of tcp/udp ports not to allocate dynamically is now
a bitmask configurable via sysctl([38]). The default values
have not changed. If one wants to change the list it should
be done early on in /etc/rc.
Diffstat (limited to 'sys/netinet/udp_var.h')
-rw-r--r-- | sys/netinet/udp_var.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h index c4bf23fdf2e..43dd5ac32d4 100644 --- a/sys/netinet/udp_var.h +++ b/sys/netinet/udp_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_var.h,v 1.3 1996/03/03 22:30:52 niklas Exp $ */ +/* $OpenBSD: udp_var.h,v 1.4 1997/08/09 23:36:28 millert Exp $ */ /* $NetBSD: udp_var.h,v 1.12 1996/02/13 23:44:41 christos Exp $ */ /* @@ -71,11 +71,13 @@ struct udpstat { * Names for UDP sysctl objects */ #define UDPCTL_CHECKSUM 1 /* checksum UDP packets */ -#define UDPCTL_MAXID 2 +#define UDPCTL_BADDYNAMIC 2 /* return bad dynamic port bitmap */ +#define UDPCTL_MAXID 3 #define UDPCTL_NAMES { \ { 0, 0 }, \ { "checksum", CTLTYPE_INT }, \ + { "baddynamic", CTLTYPE_STRUCT }, \ } #ifdef _KERNEL |