summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-04-09 01:29:31 +0000
committerdg <dg@FreeBSD.org>1995-04-09 01:29:31 +0000
commit919fdebd0e121a9cf0b773da1b2886e1d0b05b56 (patch)
treee79f945463f3979c08d227856c89070dadbf446b /sys/netinet/tcp_var.h
parentcc2a98d4eb3f7c92285a86b6d88ddd139e5e323e (diff)
downloadFreeBSD-src-919fdebd0e121a9cf0b773da1b2886e1d0b05b56.zip
FreeBSD-src-919fdebd0e121a9cf0b773da1b2886e1d0b05b56.tar.gz
Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,
and in_pcblookuphash.
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index bd4705e..56d9f3e 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.9 1995/02/16 00:55:44 wollman Exp $
+ * $Id: tcp_var.h,v 1.10 1995/03/16 18:15:07 bde Exp $
*/
#ifndef _NETINET_TCP_VAR_H_
@@ -307,13 +307,15 @@ struct tcpstat {
}
#ifdef KERNEL
-extern struct inpcb tcb; /* head of queue of active tcpcb's */
+extern struct inpcbhead tcb; /* head of queue of active tcpcb's */
+extern struct inpcbinfo tcbinfo;
extern struct tcpstat tcpstat; /* tcp statistics */
extern int tcp_do_rfc1323; /* XXX */
extern int tcp_do_rfc1644; /* XXX */
extern int tcp_mssdflt; /* XXX */
extern u_long tcp_now; /* for RFC 1323 timestamps */
extern int tcp_rttdflt; /* XXX */
+extern u_short tcp_lastport; /* last assigned port */
int tcp_attach __P((struct socket *));
void tcp_canceltimers __P((struct tcpcb *));
OpenPOWER on IntegriCloud