-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathzsys_3_19_linux.go
42 lines (40 loc) · 1.05 KB
/
zsys_3_19_linux.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// 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
}