status-go/vendor/github.com/mikioh/tcpinfo/zsys_3_19_linux.go

43 lines
1.0 KiB
Go

// Created by cgo -godefs - DO NOT EDIT
// go tool cgo -godefs defs_linux.go
// it was edited to remove duplicated code. Also removed last field (tcpi_last_new_data_recv)
// because we do not use it and getsockopt does not fill it anyway
package tcpinfo
type tcpInfo3_19 struct {
State uint8
Ca_state uint8
Retransmits uint8
Probes uint8
Backoff uint8
Options uint8
Pad_cgo_0 [2]byte
Rto uint32
Ato uint32
Snd_mss uint32
Rcv_mss uint32
Unacked uint32
Sacked uint32
Lost uint32
Retrans uint32
Fackets uint32
Last_data_sent uint32
Last_ack_sent uint32
Last_data_recv uint32
Last_ack_recv uint32
Pmtu uint32
Rcv_ssthresh uint32
Rtt uint32
Rttvar uint32
Snd_ssthresh uint32
Snd_cwnd uint32
Advmss uint32
Reordering uint32
Rcv_rtt uint32
Rcv_space uint32
Total_retrans uint32
Pacing_rate uint64
Max_pacing_rate uint64
}