File tree 1 file changed +36
-0
lines changed
src/unix/linux_like/linux/uclibc
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,42 @@ s! {
114
114
pub struct pthread_condattr_t {
115
115
size: [ u8 ; crate :: __SIZEOF_PTHREAD_CONDATTR_T] ,
116
116
}
117
+
118
+ pub struct tcp_info {
119
+ pub tcpi_state: u8 ,
120
+ pub tcpi_ca_state: u8 ,
121
+ pub tcpi_retransmits: u8 ,
122
+ pub tcpi_probes: u8 ,
123
+ pub tcpi_backoff: u8 ,
124
+ pub tcpi_options: u8 ,
125
+ /// This contains the bitfields `tcpi_snd_wscale` and `tcpi_rcv_wscale`.
126
+ /// Each is 4 bits.
127
+ pub tcpi_snd_rcv_wscale: u8 ,
128
+ pub tcpi_rto: u32 ,
129
+ pub tcpi_ato: u32 ,
130
+ pub tcpi_snd_mss: u32 ,
131
+ pub tcpi_rcv_mss: u32 ,
132
+ pub tcpi_unacked: u32 ,
133
+ pub tcpi_sacked: u32 ,
134
+ pub tcpi_lost: u32 ,
135
+ pub tcpi_retrans: u32 ,
136
+ pub tcpi_fackets: u32 ,
137
+ pub tcpi_last_data_sent: u32 ,
138
+ pub tcpi_last_ack_sent: u32 ,
139
+ pub tcpi_last_data_recv: u32 ,
140
+ pub tcpi_last_ack_recv: u32 ,
141
+ pub tcpi_pmtu: u32 ,
142
+ pub tcpi_rcv_ssthresh: u32 ,
143
+ pub tcpi_rtt: u32 ,
144
+ pub tcpi_rttvar: u32 ,
145
+ pub tcpi_snd_ssthresh: u32 ,
146
+ pub tcpi_snd_cwnd: u32 ,
147
+ pub tcpi_advmss: u32 ,
148
+ pub tcpi_reordering: u32 ,
149
+ pub tcpi_rcv_rtt: u32 ,
150
+ pub tcpi_rcv_space: u32 ,
151
+ pub tcpi_total_retrans: u32 ,
152
+ }
117
153
}
118
154
119
155
impl siginfo_t {
You can’t perform that action at this time.
0 commit comments