• Home
  • Raw
  • Download

Lines Matching defs:tcp_sock

205 struct tcp_sock {  struct
207 struct inet_connection_sock inet_conn;
208 int tcp_header_len; /* Bytes of tcp header to send */
214 __u32 pred_flags;
221 __u32 rcv_nxt; /* What we want to receive next */
222 __u32 snd_nxt; /* Next sequence we send */
224 __u32 snd_una; /* First byte we want an ack for */
225 __u32 snd_sml; /* Last byte of the most recently transmitted small packet */
226 __u32 rcv_tstamp; /* timestamp of last received ACK (for keepalives) */
227 __u32 lsndtime; /* timestamp of last sent data packet (for restart window) */
230 struct {
243 } ucopy;
245 __u32 snd_wl1; /* Sequence for window update */
246 __u32 snd_wnd; /* The window we expect to receive */
247 __u32 max_window; /* Maximal window ever seen from peer */
248 __u32 mss_cache; /* Cached effective mss, not including SACKS */
249 __u16 xmit_size_goal; /* Goal for segmenting output packets */
252 __u32 window_clamp; /* Maximal window to advertise */
253 __u32 rcv_ssthresh; /* Current window clamp */
255 __u32 frto_highmark; /* snd_nxt when RTO occurred */
256 __u8 reordering; /* Packet reordering metric. */
257 __u8 frto_counter; /* Number of new acks after RTO */
258 __u8 nonagle; /* Disable Nagle algorithm? */
259 __u8 keepalive_probes; /* num of allowed keep alive probes */
262 __u32 srtt; /* smoothed round trip time << 3 */
263 __u32 mdev; /* medium deviation */
264 __u32 mdev_max; /* maximal mdev for the last rtt period */
265 __u32 rttvar; /* smoothed mdev_max */
266 __u32 rtt_seq; /* sequence number to update rttvar */
268 __u32 packets_out; /* Packets which are "in flight" */
269 __u32 left_out; /* Packets which leaved network */
270 __u32 retrans_out; /* Retransmitted packets out */
274 struct tcp_options_received rx_opt;
279 __u32 snd_ssthresh; /* Slow start size threshold */
280 __u32 snd_cwnd; /* Sending congestion window */
281 __u16 snd_cwnd_cnt; /* Linear increase counter */
282 __u16 snd_cwnd_clamp; /* Do not allow snd_cwnd to grow above this */
283 __u32 snd_cwnd_used;
284 __u32 snd_cwnd_stamp;
286 struct sk_buff_head out_of_order_queue; /* Out of order segments go here */
288 __u32 rcv_wnd; /* Current receiver window */
289 __u32 rcv_wup; /* rcv_nxt on last window update sent */
290 __u32 write_seq; /* Tail(+1) of data held in tcp send buffer */
291 __u32 pushed_seq; /* Last pushed seq, required to talk to windows */
292 __u32 copied_seq; /* Head of yet unread data */
295 struct tcp_sack_block duplicate_sack[1]; /* D-SACK block */
296 struct tcp_sack_block selective_acks[4]; /* The SACKS themselves*/
298 struct tcp_sack_block recv_sack_cache[4];
301 struct sk_buff* lost_skb_hint;
303 struct sk_buff *scoreboard_skb_hint;
304 struct sk_buff *retransmit_skb_hint;
305 struct sk_buff *forward_skb_hint;
306 struct sk_buff *fastpath_skb_hint;
308 int fastpath_cnt_hint;
309 int lost_cnt_hint;
310 int retransmit_cnt_hint;
311 int forward_cnt_hint;
313 __u16 advmss; /* Advertised MSS */
314 __u16 prior_ssthresh; /* ssthresh saved at recovery start */
315 __u32 lost_out; /* Lost packets */
316 __u32 sacked_out; /* SACK'd packets */
317 __u32 fackets_out; /* FACK'd packets */
318 __u32 high_seq; /* snd_nxt at onset of congestion */
320 __u32 retrans_stamp; /* Timestamp of the last retransmit,
323 __u32 undo_marker; /* tracking retrans started here. */
324 int undo_retrans; /* number of undoable retransmissions. */
325 __u32 urg_seq; /* Seq of received urgent pointer */
326 __u16 urg_data; /* Saved octet of OOB data and control flags */
327 __u8 urg_mode; /* In urgent mode */
328 __u8 ecn_flags; /* ECN status bits. */
329 __u32 snd_up; /* Urgent pointer */
331 __u32 total_retrans; /* Total retransmits for entire connection */
332 __u32 bytes_acked; /* Appropriate Byte Counting - RFC3465 */
334 unsigned int keepalive_time; /* time before keep alive takes place */
335 unsigned int keepalive_intvl; /* time interval between keep alive probes */
336 int linger2;
361 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() argument