diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-05-04 23:43:18 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-05-04 23:43:18 +0000 |
commit | 25b2d1a7d4df6fdf37ff9f938ee634210b3cbb15 (patch) | |
tree | 7477f7905a44a2ce6f82569b17a1f4b924da64ba /sys/netinet/tcp_var.h | |
parent | 6ab1aa7971bd4c712b1c6f75118c2dd8d2745ed6 (diff) | |
download | FreeBSD-src-25b2d1a7d4df6fdf37ff9f938ee634210b3cbb15.zip FreeBSD-src-25b2d1a7d4df6fdf37ff9f938ee634210b3cbb15.tar.gz |
Add global mutex tcp_debug_mtx, which will protect global TCP debugging
state tcp_debug, tcp_debx. Acquire and drop as required in tcp_trace().
Move to ANSI C function header, correct prototype types so that short TCP
state is no longer promoted to int unnecessarily.
Add comments.
MFC after: 3 weeks
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 9160c48..96b4db4 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -535,7 +535,7 @@ struct tcptemp * void tcpip_fillheaders(struct inpcb *, void *, void *); void tcp_timer_activate(struct tcpcb *, int, u_int); int tcp_timer_active(struct tcpcb *, int); -void tcp_trace(int, int, struct tcpcb *, void *, struct tcphdr *, int); +void tcp_trace(short, short, struct tcpcb *, void *, struct tcphdr *, int); void tcp_xmit_bandwidth_limit(struct tcpcb *tp, tcp_seq ack_seq); void syncache_init(void); void syncache_unreach(struct in_conninfo *, struct tcphdr *); |