FreeBSD kernel IPv4 code
tcp_debug.c File Reference
#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>
Include dependency graph for tcp_debug.c:

Go to the source code of this file.

Functions

 __FBSDID ("$FreeBSD$")
 
 MTX_SYSINIT (tcp_debug_mtx, &tcp_debug_mtx, "tcp_debug_mtx", MTX_DEF)
 
void tcp_trace (short act, short ostate, struct tcpcb *tp, void *ipgen, struct tcphdr *th, int req)
 

Variables

static struct tcp_debug tcp_debug [TCP_NDEBUG]
 
static int tcp_debx
 
struct mtx tcp_debug_mtx
 

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ MTX_SYSINIT()

MTX_SYSINIT ( tcp_debug_mtx  ,
tcp_debug_mtx,
"tcp_debug_mtx"  ,
MTX_DEF   
)

◆ tcp_trace()

Variable Documentation

◆ tcp_debug

struct tcp_debug tcp_debug[TCP_NDEBUG]
static

Definition at line 83 of file tcp_debug.c.

◆ tcp_debug_mtx

struct mtx tcp_debug_mtx

Definition at line 91 of file tcp_debug.c.

Referenced by tcp_trace().

◆ tcp_debx

int tcp_debx
static

Definition at line 84 of file tcp_debug.c.

Referenced by tcp_trace().