Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/tcp_log_buf.h
Show All 26 Lines | |||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef __tcp_log_buf_h__ | #ifndef __tcp_log_buf_h__ | ||||
#define __tcp_log_buf_h__ | #define __tcp_log_buf_h__ | ||||
#define TCP_LOG_REASON_LEN 32 | #define TCP_LOG_REASON_LEN 32 | ||||
#define TCP_LOG_TAG_LEN 32 | #define TCP_LOG_TAG_LEN 32 | ||||
#define TCP_LOG_BUF_VER (8) | #define TCP_LOG_BUF_VER (9) | ||||
/* | /* | ||||
* Because the (struct tcp_log_buffer) includes 8-byte uint64_t's, it requires | * Because the (struct tcp_log_buffer) includes 8-byte uint64_t's, it requires | ||||
* 8-byte alignment to work properly on all platforms. Therefore, we will | * 8-byte alignment to work properly on all platforms. Therefore, we will | ||||
* enforce 8-byte alignment for all the structures that may appear by | * enforce 8-byte alignment for all the structures that may appear by | ||||
* themselves (instead of being embedded in another structure) in a data | * themselves (instead of being embedded in another structure) in a data | ||||
* stream. | * stream. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | #define TLB_FLAG_STACKINFO 0x0010 /* Includes stack-specific info */ | ||||
uint32_t tlb_snd_nxt; /* TCPCB snd_nxt */ | uint32_t tlb_snd_nxt; /* TCPCB snd_nxt */ | ||||
uint32_t tlb_snd_recover;/* TCPCB snd_recover */ | uint32_t tlb_snd_recover;/* TCPCB snd_recover */ | ||||
uint32_t tlb_snd_wnd; /* TCPCB snd_wnd */ | uint32_t tlb_snd_wnd; /* TCPCB snd_wnd */ | ||||
uint32_t tlb_snd_ssthresh; /* TCPCB snd_ssthresh */ | uint32_t tlb_snd_ssthresh; /* TCPCB snd_ssthresh */ | ||||
uint32_t tlb_srtt; /* TCPCB t_srtt */ | uint32_t tlb_srtt; /* TCPCB t_srtt */ | ||||
uint32_t tlb_rttvar; /* TCPCB t_rttvar */ | uint32_t tlb_rttvar; /* TCPCB t_rttvar */ | ||||
uint32_t tlb_rcv_up; /* TCPCB rcv_up */ | uint32_t tlb_rcv_up; /* TCPCB rcv_up */ | ||||
uint32_t tlb_rcv_adv; /* TCPCB rcv_adv */ | uint32_t tlb_rcv_adv; /* TCPCB rcv_adv */ | ||||
uint32_t tlb_flags2; /* TCPCB t_flags2 */ | |||||
uint32_t tlb_rcv_nxt; /* TCPCB rcv_nxt */ | uint32_t tlb_rcv_nxt; /* TCPCB rcv_nxt */ | ||||
uint32_t tlb_rcv_wnd; /* TCPCB rcv_wnd */ | uint32_t tlb_rcv_wnd; /* TCPCB rcv_wnd */ | ||||
uint32_t tlb_dupacks; /* TCPCB t_dupacks */ | uint32_t tlb_dupacks; /* TCPCB t_dupacks */ | ||||
int tlb_segqlen; /* TCPCB segqlen */ | int tlb_segqlen; /* TCPCB segqlen */ | ||||
int tlb_snd_numholes; /* TCPCB snd_numholes */ | int tlb_snd_numholes; /* TCPCB snd_numholes */ | ||||
uint32_t tlb_flex1; /* Event specific information */ | uint32_t tlb_flex1; /* Event specific information */ | ||||
uint32_t tlb_flex2; /* Event specific information */ | uint32_t tlb_flex2; /* Event specific information */ | ||||
uint32_t tlb_fbyte_in; /* TCPCB first byte in time */ | |||||
uint32_t tlb_fbyte_out; /* TCPCB first byte out time */ | |||||
uint8_t tlb_snd_scale:4, /* TCPCB snd_scale */ | uint8_t tlb_snd_scale:4, /* TCPCB snd_scale */ | ||||
tlb_rcv_scale:4; /* TCPCB rcv_scale */ | tlb_rcv_scale:4; /* TCPCB rcv_scale */ | ||||
uint8_t _pad[3]; /* Padding */ | uint8_t _pad[3]; /* Padding */ | ||||
/* Per-stack info */ | /* Per-stack info */ | ||||
union tcp_log_stackspecific tlb_stackinfo; | union tcp_log_stackspecific tlb_stackinfo; | ||||
#define tlb_rack tlb_stackinfo.u_rack | #define tlb_rack tlb_stackinfo.u_rack | ||||
▲ Show 20 Lines • Show All 224 Lines • Show Last 20 Lines |