Source File
zsys_linux.go
Belonging Package
github.com/mikioh/tcpinfo
// Created by cgo -godefs - DO NOT EDIT// cgo -godefs defs_linux.gopackage tcpinfoconst (sysTCP_INFO = 0xbsysTCP_CONGESTION = 0xdsysTCP_CC_INFO = 0x1asysTCPI_OPT_TIMESTAMPS = 0x1sysTCPI_OPT_SACK = 0x2sysTCPI_OPT_WSCALE = 0x4sysTCPI_OPT_ECN = 0x8sysTCPI_OPT_ECN_SEEN = 0x10sysTCPI_OPT_SYN_DATA = 0x20CAOpen CAState = 0x0CADisorder CAState = 0x1CACWR CAState = 0x2CARecovery CAState = 0x3CALoss CAState = 0x4sizeofTCPInfo = 0xc0sizeofTCPCCInfo = 0x14sizeofTCPVegasInfo = 0x10sizeofTCPDCTCPInfo = 0x10sizeofTCPBBRInfo = 0x14)type tcpInfo struct {State uint8Ca_state uint8Retransmits uint8Probes uint8Backoff uint8Options uint8Pad_cgo_0 [1]bytePad_cgo_1 [1]byteRto uint32Ato uint32Snd_mss uint32Rcv_mss uint32Unacked uint32Sacked uint32Lost uint32Retrans uint32Fackets uint32Last_data_sent uint32Last_ack_sent uint32Last_data_recv uint32Last_ack_recv uint32Pmtu uint32Rcv_ssthresh uint32Rtt uint32Rttvar uint32Snd_ssthresh uint32Snd_cwnd uint32Advmss uint32Reordering uint32Rcv_rtt uint32Rcv_space uint32Total_retrans uint32Pacing_rate uint64Max_pacing_rate uint64Bytes_acked uint64Bytes_received uint64Segs_out uint32Segs_in uint32Notsent_bytes uint32Min_rtt uint32Data_segs_in uint32Data_segs_out uint32Delivery_rate uint64Busy_time uint64Rwnd_limited uint64Sndbuf_limited uint64}type tcpCCInfo [20]bytetype tcpVegasInfo struct {Enabled uint32Rttcnt uint32Rtt uint32Minrtt uint32}type tcpDCTCPInfo struct {Enabled uint16Ce_state uint16Alpha uint32Ab_ecn uint32Ab_tot uint32}type tcpBBRInfo struct {Bw_lo uint32Bw_hi uint32Min_rtt uint32Pacing_gain uint32Cwnd_gain uint32}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |