#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_tcpdebug.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/mbuf.h>
#include <sys/mutex.h>
#include <sys/protosw.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/ip_var.h>
#include <netinet/tcp.h>
#include <netinet/tcp_fsm.h>
#include <netinet/tcp_timer.h>
#include <netinet/tcp_var.h>
#include <netinet/tcpip.h>
#include <netinet/tcp_debug.h>
Go to the source code of this file.
◆ __FBSDID()
◆ MTX_SYSINIT()
MTX_SYSINIT |
( |
tcp_debug_mtx |
, |
|
|
& |
tcp_debug_mtx, |
|
|
"tcp_debug_mtx" |
, |
|
|
MTX_DEF |
|
|
) |
| |
◆ tcp_trace()
void tcp_trace |
( |
short |
act, |
|
|
short |
ostate, |
|
|
struct tcpcb * |
tp, |
|
|
void * |
ipgen, |
|
|
struct tcphdr * |
th, |
|
|
int |
req |
|
) |
| |
Definition at line 99 of file tcp_debug.c.
References ip6_plen, ip_len, iptime(), tcpcb::rcv_nxt, tcpcb::rcv_up, tcpcb::rcv_wnd, tcpcb::snd_max, tcpcb::snd_nxt, tcpcb::snd_una, tcpcb::snd_wl1, tcpcb::snd_wl2, tcpcb::snd_wnd, tcpcb::t_state, TA_DROP, TA_INPUT, TA_OUTPUT, TA_USER, tcp_debug_mtx, tcp_debx, tcp_get_flags(), TCP_NDEBUG, tcp_debug::td_act, tcp_debug::td_cb, tcp_debug::td_family, tcp_debug::td_ostate, tcp_debug::td_req, tcp_debug::td_tcb, tcp_debug::td_ti, tcp_debug::td_ti6, tcp_debug::td_time, tcp_debug::th, tcpiphdr::ti_i, and tcpiphdr::ti_t.
Referenced by bbr_do_fastnewdata(), bbr_fastack(), bbr_output_wtime(), rack_do_fastnewdata(), rack_fastack(), tcp_default_output(), tcp_do_segment(), tcp_input_with_port(), tcp_respond(), tcp_timer_2msl(), tcp_timer_keep(), tcp_timer_persist(), and tcp_timer_rexmt().
◆ tcp_debug
◆ tcp_debug_mtx
◆ tcp_debx