Lines Matching +full:tcb +full:- +full:capture

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2016-2020 Netflix, Inc.
36 * Because the (struct tcp_log_buffer) includes 8-byte uint64_t's, it requires
37 * 8-byte alignment to work properly on all platforms. Therefore, we will
38 * enforce 8-byte alignment for all the structures that may appear by
47 uint32_t tls_sb_acc; /* available chars (sb->sb_acc) */
48 uint32_t tls_sb_ccc; /* claimed chars (sb->sb_ccc) */
124 struct tcp_log_uint64 u64_raw; /* just u64's - used by process info */
142 #define TLB_FLAG_STACKINFO 0x0010 /* Includes stack-specific info */
177 /* Per-stack info */
201 TCP_UNUSED_12, /* The tcb had a packet input to it 12 */
238 TCP_UNUSED_49, /* SRTT gaining -- now not used 49 */
266 TCP_LOG_STATE_RATIO_OFF = -2, /* Log ratio evaluation yielded an OFF
268 TCP_LOG_STATE_CLEAR = -1, /* Deactivate and clear tracing. Passed
287 #define ERRNO_UNK (-1)
294 * This structure is aligned to an 8-byte boundary to match the alignment
304 struct timeval tlh_offset; /* Uptime -> UTC offset */
344 * non-zero, the default is 4 for continuous tracing.
385 if (tp->_t_logstate <= TCP_LOG_STATE_OFF) in tcp_bblogging_on()
387 if (tp->_t_logstate == TCP_LOG_VIA_BBPOINTS) in tcp_bblogging_on()
400 if (tp->_t_logstate <= TCP_LOG_STATE_OFF) in tcp_bblogging_point_on()
402 if ((tp->_t_logstate == TCP_LOG_VIA_BBPOINTS) && in tcp_bblogging_point_on()
403 (tp->_t_logpoint == bbpoint)) in tcp_bblogging_point_on()
405 else if (tp->_t_logstate == TCP_LOG_VIA_BBPOINTS) in tcp_bblogging_point_on()
414 (tp->_t_logstate == TCP_LOG_STATE_OFF)){ in tcp_set_bblog_state()
422 tp->_t_logpoint = bbpoint; in tcp_set_bblog_state()
423 tp->_t_logstate = ls; in tcp_set_bblog_state()
425 tp->_t_logpoint = TCP_BBPOINT_NONE; in tcp_set_bblog_state()
426 tp->_t_logstate = ls; in tcp_set_bblog_state()
433 return (tp->_t_logstate); in tcp_get_bblog_state()
446 res = atomic_fetchadd_int(&tcp_trace_point_count, -1); in tcp_trace_point()
469 tp->t_output_caller, __func__, __LINE__, tv);\
473 * TCP_LOG_EVENT: This is a macro so we can capture function/line
509 * Currently there is only a socket option that turns on the non-BBPOINT