aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/tcp_log_buf.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/sys/netinet/tcp_log_buf.h b/sys/netinet/tcp_log_buf.h
index 5b470a541504..545a7462f593 100644
--- a/sys/netinet/tcp_log_buf.h
+++ b/sys/netinet/tcp_log_buf.h
@@ -130,7 +130,7 @@ struct tcp_log_buffer
int tlb_state; /* TCPCB t_state */
uint32_t tlb_starttime; /* TCPCB t_starttime */
- uint32_t tlb_iss; /* TCPCB iss */
+ uint32_t tlb_iss; /* TCPCB iss */
uint32_t tlb_flags; /* TCPCB flags */
uint32_t tlb_snd_una; /* TCPCB snd_una */
uint32_t tlb_snd_max; /* TCPCB snd_max */
@@ -145,12 +145,12 @@ struct tcp_log_buffer
uint32_t tlb_rcv_adv; /* TCPCB rcv_adv */
uint32_t tlb_rcv_nxt; /* TCPCB rcv_nxt */
tcp_seq tlb_sack_newdata; /* TCPCB sack_newdata */
- uint32_t tlb_rcv_wnd; /* TCPCB rcv_wnd */
+ uint32_t tlb_rcv_wnd; /* TCPCB rcv_wnd */
uint32_t tlb_dupacks; /* TCPCB t_dupacks */
int tlb_segqlen; /* TCPCB segqlen */
int tlb_snd_numholes; /* TCPCB snd_numholes */
- uint32_t tlb_flex1; /* Event specific information */
- uint32_t tlb_flex2; /* Event specific information */
+ uint32_t tlb_flex1; /* Event specific information */
+ uint32_t tlb_flex2; /* Event specific information */
uint8_t tlb_snd_scale:4, /* TCPCB snd_scale */
tlb_rcv_scale:4; /* TCPCB rcv_scale */
uint8_t _pad[3]; /* Padding */
@@ -169,15 +169,15 @@ struct tcp_log_buffer
} ALIGN_TCP_LOG;
enum tcp_log_events {
- TCP_LOG_IN = 1, /* Incoming packet 1 */
- TCP_LOG_OUT, /* Transmit (without other event) 2 */
- TCP_LOG_RTO, /* Retransmit timeout 3 */
- TCP_LOG_TF_ACK, /* Transmit due to TF_ACK 4 */
- TCP_LOG_BAD_RETRAN, /* Detected bad retransmission 5 */
- TCP_LOG_PRR, /* Doing PRR 6 */
- TCP_LOG_REORDER,/* Detected reorder 7 */
- TCP_LOG_HPTS, /* Hpts sending a packet 8 */
- BBR_LOG_BBRUPD, /* We updated BBR info 9 */
+ TCP_LOG_IN = 1, /* Incoming packet 1 */
+ TCP_LOG_OUT, /* Transmit (without other event) 2 */
+ TCP_LOG_RTO, /* Retransmit timeout 3 */
+ TCP_LOG_TF_ACK, /* Transmit due to TF_ACK 4 */
+ TCP_LOG_BAD_RETRAN, /* Detected bad retransmission 5 */
+ TCP_LOG_PRR, /* Doing PRR 6 */
+ TCP_LOG_REORDER, /* Detected reorder 7 */
+ TCP_LOG_HPTS, /* Hpts sending a packet 8 */
+ BBR_LOG_BBRUPD, /* We updated BBR info 9 */
BBR_LOG_BBRSND, /* We did a slot calculation and sending is done 10 */
BBR_LOG_ACKCLEAR, /* A ack clears all outstanding 11 */
BBR_LOG_INQUEUE, /* The tcb had a packet input to it 12 */
@@ -195,8 +195,8 @@ enum tcp_log_events {
BBR_LOG_PERSIST, /* BBR changed to/from a persists 24 */
TCP_LOG_FLOWEND, /* End of a flow 25 */
BBR_LOG_RTO, /* BBR's timeout includes BBR info 26 */
- BBR_LOG_DOSEG_DONE, /* hpts do_segment completes 27 */
- BBR_LOG_EXIT_GAIN, /* hpts do_segment completes 28 */
+ BBR_LOG_DOSEG_DONE, /* hpts do_segment completes 27 */
+ BBR_LOG_EXIT_GAIN, /* hpts do_segment completes 28 */
BBR_LOG_THRESH_CALC, /* Doing threshold calculation 29 */
BBR_LOG_EXTRACWNDGAIN, /* Removed 30 */
TCP_LOG_USERSEND, /* User level sends data 31 */
@@ -204,29 +204,29 @@ enum tcp_log_events {
BBR_LOG_STATE_TARGET, /* Log of target at state 33 */
BBR_LOG_TIME_EPOCH, /* A timed based Epoch occured 34 */
BBR_LOG_TO_PROCESS, /* A to was processed 35 */
- BBR_LOG_BBRTSO, /* TSO update 36 */
- BBR_LOG_HPTSDIAG, /* Hpts diag insert 37 */
+ BBR_LOG_BBRTSO, /* TSO update 36 */
+ BBR_LOG_HPTSDIAG, /* Hpts diag insert 37 */
BBR_LOG_LOWGAIN, /* Low gain accounting 38 */
BBR_LOG_PROGRESS, /* Progress timer event 39 */
- TCP_LOG_SOCKET_OPT, /* A socket option is set 40 */
+ TCP_LOG_SOCKET_OPT, /* A socket option is set 40 */
BBR_LOG_TIMERPREP, /* A BBR var to debug out TLP issues 41 */
- BBR_LOG_ENOBUF_JMP, /* We had a enobuf jump 42 */
- BBR_LOG_HPTSI_CALC, /* calc the hptsi time 43 */
+ BBR_LOG_ENOBUF_JMP, /* We had a enobuf jump 42 */
+ BBR_LOG_HPTSI_CALC, /* calc the hptsi time 43 */
BBR_LOG_RTT_SHRINKS, /* We had a log reduction of rttProp 44 */
- BBR_LOG_BW_RED_EV, /* B/W reduction events 45 */
+ BBR_LOG_BW_RED_EV, /* B/W reduction events 45 */
BBR_LOG_REDUCE, /* old bbr log reduce for 4.1 and earlier 46*/
TCP_LOG_RTT, /* A rtt (in useconds) is being sampled and applied to the srtt algo 47 */
- BBR_LOG_SETTINGS_CHG, /* Settings changed for loss response 48 */
- BBR_LOG_SRTT_GAIN_EVENT, /* SRTT gaining -- now not used 49 */
- TCP_LOG_REASS, /* Reassembly buffer logging 50 */
- TCP_HDWR_TLS, /* TCP Hardware TLS logs 51 */
- BBR_LOG_HDWR_PACE, /* TCP Hardware pacing log 52 */
- BBR_LOG_TSTMP_VAL, /* Temp debug timestamp validation 53 */
- TCP_LOG_CONNEND, /* End of connection 54 */
- TCP_LOG_LRO, /* LRO entry 55 */
- TCP_SACK_FILTER_RES, /* Results of SACK Filter 56 */
- TCP_SAD_DETECTION, /* Sack Attack Detection 57 */
- TCP_LOG_END /* End (keep at end) 58 */
+ BBR_LOG_SETTINGS_CHG, /* Settings changed for loss response 48 */
+ BBR_LOG_SRTT_GAIN_EVENT, /* SRTT gaining -- now not used 49 */
+ TCP_LOG_REASS, /* Reassembly buffer logging 50 */
+ TCP_HDWR_TLS, /* TCP Hardware TLS logs 51 */
+ BBR_LOG_HDWR_PACE, /* TCP Hardware pacing log 52 */
+ BBR_LOG_TSTMP_VAL, /* Temp debug timestamp validation 53 */
+ TCP_LOG_CONNEND, /* End of connection 54 */
+ TCP_LOG_LRO, /* LRO entry 55 */
+ TCP_SACK_FILTER_RES, /* Results of SACK Filter 56 */
+ TCP_SAD_DETECTION, /* Sack Attack Detection 57 */
+ TCP_LOG_END /* End (keep at end) 58 */
};
enum tcp_log_states {
@@ -296,8 +296,8 @@ struct tcp_log_dev_log_queue {
do { \
if (tp->t_logstate != TCP_LOG_STATE_OFF) \
tcp_log_event_(tp, th, rxbuf, txbuf, eventid, \
- errornum, len, stackinfo, th_hostorder, \
- tp->t_output_caller, __func__, __LINE__, tv); \
+ errornum, len, stackinfo, th_hostorder, \
+ tp->t_output_caller, __func__, __LINE__, tv);\
} while (0)
/*
@@ -326,11 +326,11 @@ struct tcp_log_dev_log_queue {
if (tcp_log_verbose) \
TCP_LOG_EVENT_VERBOSE(tp, th, rxbuf, txbuf, \
eventid, errornum, len, stackinfo, \
- th_hostorder, NULL); \
+ th_hostorder, NULL); \
else if (tp->t_logstate != TCP_LOG_STATE_OFF) \
tcp_log_event_(tp, th, rxbuf, txbuf, eventid, \
errornum, len, stackinfo, th_hostorder, \
- NULL, NULL, 0, NULL); \
+ NULL, NULL, 0, NULL); \
} while (0)
#endif /* TCP_LOG_FORCEVERBOSE */
#define TCP_LOG_EVENTP(tp, th, rxbuf, txbuf, eventid, errornum, len, stackinfo, th_hostorder, tv) \