diff options
author | wollman <wollman@FreeBSD.org> | 1995-02-16 00:27:47 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-02-16 00:27:47 +0000 |
commit | d9804d3f5c56924ae9cdd5ae7158f755b5048e16 (patch) | |
tree | c55472d24cbc6b9c5e2ff9ed34ce203485bb98af /sys/netinet/tcp_var.h | |
parent | 668541d9ec6dbf8324e4383c47e81d62dfd9fca2 (diff) | |
download | FreeBSD-src-d9804d3f5c56924ae9cdd5ae7158f755b5048e16.zip FreeBSD-src-d9804d3f5c56924ae9cdd5ae7158f755b5048e16.tar.gz |
Add lots of useful MIB variables and a few not-so-useful ones for
completeness.
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index b5344ae..df1937d 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_var.h 8.3 (Berkeley) 4/10/94 - * $Id: tcp_var.h,v 1.6 1995/02/09 23:13:27 wollman Exp $ + * $Id: tcp_var.h,v 1.7 1995/02/14 02:35:19 wollman Exp $ */ #ifndef _NETINET_TCP_VAR_H_ @@ -285,13 +285,25 @@ struct tcpstat { #define TCPCTL_DO_RFC1323 1 /* use RFC-1323 extensions */ #define TCPCTL_DO_RFC1644 2 /* use RFC-1644 extensions */ #define TCPCTL_MSSDFLT 3 /* MSS default */ -#define TCPCTL_MAXID 4 +#define TCPCTL_STATS 4 /* statistics (read-only) */ +#define TCPCTL_RTTDFLT 5 /* default RTT estimate */ +#define TCPCTL_KEEPIDLE 6 /* keepalive idle timer */ +#define TCPCTL_KEEPINTVL 7 /* interval to send keepalives */ +#define TCPCTL_SENDSPACE 8 /* send buffer space */ +#define TCPCTL_RECVSPACE 9 /* receive buffer space */ +#define TCPCTL_MAXID 10 #define TCPCTL_NAMES { \ { 0, 0 }, \ { "rfc1323", CTLTYPE_INT }, \ { "rfc1644", CTLTYPE_INT }, \ { "mssdflt", CTLTYPE_INT }, \ + { "stats", CTLTYPE_STRUCT }, \ + { "rttdflt", CTLTYPE_INT }, \ + { "keepidle", CTLTYPE_INT }, \ + { "keepintvl", CTLTYPE_INT }, \ + { "sendspace", CTLTYPE_INT }, \ + { "recvspace", CTLTYPE_INT }, \ } #ifdef KERNEL |