FreeBSD kernel IPv4 code
|
Go to the source code of this file.
Data Structures | |
struct | tcp_log_sockbuf |
struct | tcp_log_verbose |
struct | tcp_log_rack |
struct | tcp_log_bbr |
union | tcp_log_stackspecific |
struct | tcp_log_buffer |
Macros | |
#define | TCP_LOG_REASON_LEN 32 |
#define | TCP_LOG_TAG_LEN 32 |
#define | TCP_LOG_BUF_VER (9) |
#define | ALIGN_TCP_LOG __aligned(8) |
#define | TCP_FUNC_LEN 32 |
#define | TLB_FLAG_RXBUF 0x0001 /* Includes receive buffer info */ |
#define | TLB_FLAG_TXBUF 0x0002 /* Includes send buffer info */ |
#define | TLB_FLAG_HDR 0x0004 /* Includes a TCP header */ |
#define | TLB_FLAG_VERBOSE 0x0008 /* Includes function/line numbers */ |
#define | TLB_FLAG_STACKINFO 0x0010 /* Includes stack-specific info */ |
#define | tlb_rack tlb_stackinfo.u_rack |
#define | ERRNO_UNK (-1) |
#define | TCP_LOG_BUF_DEFAULT_SESSION_LIMIT 5000 |
#define | TCP_LOG_BUF_DEFAULT_GLOBAL_LIMIT 5000000 |
#define | TCP_LOG_EVENT_VERBOSE(tp, th, rxbuf, txbuf, eventid, errornum, len, stackinfo, th_hostorder, tv) |
#define | TCP_LOG_EVENT(tp, th, rxbuf, txbuf, eventid, errornum, len, stackinfo, th_hostorder) |
#define | TCP_LOG_EVENTP(tp, th, rxbuf, txbuf, eventid, errornum, len, stackinfo, th_hostorder, tv) |
#define | tcp_log_verbose (false) |
Functions | |
static struct tcp_log_buffer * | tcp_log_event_ (struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf, struct sockbuf *txbuf, uint8_t eventid, int errornum, uint32_t len, union tcp_log_stackspecific *stackinfo, int th_hostorder, const char *output_caller, const char *func, int line, const struct timeval *tv) |
Variables | |
struct tcp_log_verbose | ALIGN_TCP_LOG |
struct tcp_log_buffer ALIGN_TCP_LOG __aligned(8) |
Definition at line 44 of file tcp_log_buf.h.
#define ERRNO_UNK (-1) |
Definition at line 257 of file tcp_log_buf.h.
#define TCP_FUNC_LEN 32 |
Definition at line 57 of file tcp_log_buf.h.
#define TCP_LOG_BUF_DEFAULT_GLOBAL_LIMIT 5000000 |
Definition at line 299 of file tcp_log_buf.h.
#define TCP_LOG_BUF_DEFAULT_SESSION_LIMIT 5000 |
Definition at line 298 of file tcp_log_buf.h.
#define TCP_LOG_BUF_VER (9) |
Definition at line 35 of file tcp_log_buf.h.
#define TCP_LOG_EVENT | ( | tp, | |
th, | |||
rxbuf, | |||
txbuf, | |||
eventid, | |||
errornum, | |||
len, | |||
stackinfo, | |||
th_hostorder | |||
) |
Definition at line 334 of file tcp_log_buf.h.
#define TCP_LOG_EVENT_VERBOSE | ( | tp, | |
th, | |||
rxbuf, | |||
txbuf, | |||
eventid, | |||
errornum, | |||
len, | |||
stackinfo, | |||
th_hostorder, | |||
tv | |||
) |
Definition at line 305 of file tcp_log_buf.h.
#define TCP_LOG_EVENTP | ( | tp, | |
th, | |||
rxbuf, | |||
txbuf, | |||
eventid, | |||
errornum, | |||
len, | |||
stackinfo, | |||
th_hostorder, | |||
tv | |||
) |
Definition at line 346 of file tcp_log_buf.h.
#define TCP_LOG_REASON_LEN 32 |
Definition at line 33 of file tcp_log_buf.h.
#define TCP_LOG_TAG_LEN 32 |
Definition at line 34 of file tcp_log_buf.h.
#define tcp_log_verbose (false) |
Definition at line 375 of file tcp_log_buf.h.
#define TLB_FLAG_HDR 0x0004 /* Includes a TCP header */ |
Definition at line 122 of file tcp_log_buf.h.
#define TLB_FLAG_RXBUF 0x0001 /* Includes receive buffer info */ |
Definition at line 120 of file tcp_log_buf.h.
#define TLB_FLAG_STACKINFO 0x0010 /* Includes stack-specific info */ |
Definition at line 124 of file tcp_log_buf.h.
#define TLB_FLAG_TXBUF 0x0002 /* Includes send buffer info */ |
Definition at line 121 of file tcp_log_buf.h.
#define TLB_FLAG_VERBOSE 0x0008 /* Includes function/line numbers */ |
Definition at line 123 of file tcp_log_buf.h.
#define tlb_rack tlb_stackinfo.u_rack |
Definition at line 162 of file tcp_log_buf.h.
enum tcp_log_events |
Definition at line 173 of file tcp_log_buf.h.
enum tcp_log_states |
Enumerator | |
---|---|
TCP_LOG_STATE_CLEAR | |
TCP_LOG_STATE_OFF | |
TCP_LOG_STATE_TAIL | |
TCP_LOG_STATE_HEAD | |
TCP_LOG_STATE_HEAD_AUTO | |
TCP_LOG_STATE_CONTINUAL | |
TCP_LOG_STATE_TAIL_AUTO |
Definition at line 242 of file tcp_log_buf.h.
|
inlinestatic |
Definition at line 378 of file tcp_log_buf.h.
struct tcp_log_buffer ALIGN_TCP_LOG |