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/tcp_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/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 038c363b5b4..1a4a946a6ff 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_var.h,v 1.7 1997/06/15 13:47:28 deraadt Exp $ */ +/* $OpenBSD: tcp_var.h,v 1.8 1997/08/09 23:36:27 millert Exp $ */ /* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */ /* @@ -236,7 +236,8 @@ struct tcpstat { #define TCPCTL_KEEPIDLE 3 /* allow tcp_keepidle to be changed */ #define TCPCTL_KEEPINTVL 4 /* allow tcp_keepintvl to be changed */ #define TCPCTL_SLOWHZ 5 /* return kernel idea of PR_SLOWHZ */ -#define TCPCTL_MAXID 6 +#define TCPCTL_BADDYNAMIC 6 /* return bad dynamic port bitmap */ +#define TCPCTL_MAXID 7 #define TCPCTL_NAMES { \ { 0, 0 }, \ @@ -245,6 +246,7 @@ struct tcpstat { { "keepidle", CTLTYPE_INT }, \ { "keepintvl", CTLTYPE_INT }, \ { "slowhz", CTLTYPE_INT }, \ + { "baddynamic", CTLTYPE_STRUCT }, \ } #ifdef _KERNEL |