Lines Matching defs:tcp_opt
266 struct tcp_opt { struct
267 int tcp_header_len; /* Bytes of tcp header to send */
273 __u32 pred_flags;
280 __u32 rcv_nxt; /* What we want to receive next */
281 __u32 snd_nxt; /* Next sequence we send */
283 __u32 snd_una; /* First byte we want an ack for */
284 __u32 snd_sml; /* Last byte of the most recently transmitted small packet */
285 __u32 rcv_tstamp; /* timestamp of last received ACK (for keepalives) */
286 __u32 lsndtime; /* timestamp of last sent data packet (for restart window) */
289 struct {
299 } ack;
302 struct {
308 } ucopy;
310 __u32 snd_wl1; /* Sequence for window update */
311 __u32 snd_wnd; /* The window we expect to receive */
312 __u32 max_window; /* Maximal window ever seen from peer */
313 __u32 pmtu_cookie; /* Last pmtu seen by socket */
314 __u16 mss_cache; /* Cached effective mss, not including SACKS */
315 __u16 mss_clamp; /* Maximal mss, negotiated at connection setup */
316 __u16 ext_header_len; /* Network protocol overhead (IP/IPv6 options) */
317 __u8 ca_state; /* State of fast-retransmit machine */
318 __u8 retransmits; /* Number of unrecovered RTO timeouts. */
320 __u8 reordering; /* Packet reordering metric. */
321 __u8 queue_shrunk; /* Write queue has been shrunk recently.*/
322 __u8 defer_accept; /* User waits for some data after accept() */
325 __u8 backoff; /* backoff */
326 __u32 srtt; /* smothed round trip time << 3 */
327 __u32 mdev; /* medium deviation */
328 __u32 mdev_max; /* maximal mdev for the last rtt period */
329 __u32 rttvar; /* smoothed mdev_max */
330 __u32 rtt_seq; /* sequence number to update rttvar */
331 __u32 rto; /* retransmit timeout */
333 __u32 packets_out; /* Packets which are "in flight" */
334 __u32 left_out; /* Packets which leaved network */
335 __u32 retrans_out; /* Retransmitted packets out */
341 __u32 snd_ssthresh; /* Slow start size threshold */
342 __u32 snd_cwnd; /* Sending congestion window */
343 __u16 snd_cwnd_cnt; /* Linear increase counter */
344 __u16 snd_cwnd_clamp; /* Do not allow snd_cwnd to grow above this */
345 __u32 snd_cwnd_used;
346 __u32 snd_cwnd_stamp;
349 unsigned long timeout;
350 struct timer_list retransmit_timer; /* Resend (no ack) */
351 struct timer_list delack_timer; /* Ack delay */
353 struct sk_buff_head out_of_order_queue; /* Out of order segments go here */
355 struct tcp_func *af_specific; /* Operations which are AF_INET{4,6} specific */
356 struct sk_buff *send_head; /* Front of stuff to transmit */
357 struct page *sndmsg_page; /* Cached page for sendmsg */
358 u32 sndmsg_off; /* Cached offset for sendmsg */
360 __u32 rcv_wnd; /* Current receiver window */
361 __u32 rcv_wup; /* rcv_nxt on last window update sent */
362 __u32 write_seq; /* Tail(+1) of data held in tcp send buffer */
363 __u32 pushed_seq; /* Last pushed seq, required to talk to windows */
364 __u32 copied_seq; /* Head of yet unread data */
368 char tstamp_ok, /* TIMESTAMP seen on SYN packet */
369 wscale_ok, /* Wscale seen on SYN packet */
370 sack_ok; /* SACK seen on SYN packet */
371 char saw_tstamp; /* Saw TIMESTAMP on last packet */
372 __u8 snd_wscale; /* Window scaling received from sender */
373 __u8 rcv_wscale; /* Window scaling to send to receiver */
374 __u8 nonagle; /* Disable Nagle algorithm? */
375 __u8 keepalive_probes; /* num of allowed keep alive probes */
378 __u32 rcv_tsval; /* Time stamp value */
379 __u32 rcv_tsecr; /* Time stamp echo reply */
380 __u32 ts_recent; /* Time stamp to echo next */
381 long ts_recent_stamp;/* Time we stored ts_recent (for aging) */
384 __u16 user_mss; /* mss requested by user in ioctl */
385 __u8 dsack; /* D-SACK is scheduled */
386 __u8 eff_sacks; /* Size of SACK array to send with next packet */
387 struct tcp_sack_block duplicate_sack[1]; /* D-SACK block */
388 struct tcp_sack_block selective_acks[4]; /* The SACKS themselves*/
390 __u32 window_clamp; /* Maximal window to advertise */
391 __u32 rcv_ssthresh; /* Current window clamp */
392 __u8 probes_out; /* unanswered 0 window probes */
393 __u8 num_sacks; /* Number of SACK blocks */
394 __u16 advmss; /* Advertised MSS */
396 __u8 syn_retries; /* num of allowed syn retries */
397 __u8 ecn_flags; /* ECN status bits. */
398 __u16 prior_ssthresh; /* ssthresh saved at recovery start */
399 __u32 lost_out; /* Lost packets */
400 __u32 sacked_out; /* SACK'd packets */
401 __u32 fackets_out; /* FACK'd packets */
402 __u32 high_seq; /* snd_nxt at onset of congestion */
404 __u32 retrans_stamp; /* Timestamp of the last retransmit,
407 __u32 undo_marker; /* tracking retrans started here. */
408 int undo_retrans; /* number of undoable retransmissions. */
409 __u32 urg_seq; /* Seq of received urgent pointer */
410 __u16 urg_data; /* Saved octet of OOB data and control flags */
411 __u8 pending; /* Scheduled timer event */
412 __u8 urg_mode; /* In urgent mode */
413 __u32 snd_up; /* Urgent pointer */
425 rwlock_t syn_wait_lock;
426 struct tcp_listen_opt *listen_opt;
429 struct open_request *accept_queue;
430 struct open_request *accept_queue_tail;
432 int write_pending; /* A write to socket waits to start. */
434 unsigned int keepalive_time; /* time before keep alive takes place */
435 unsigned int keepalive_intvl; /* time interval between keep alive probes */
436 int linger2;
438 __u8 adv_cong; /* Using Vegas, Westwood, or BIC */
439 __u8 frto_counter; /* Number of new acks after RTO */
440 __u32 frto_highmark; /* snd_nxt when RTO occurred */
442 unsigned long last_synq_overflow;
445 struct {
449 } rcv_rtt_est;
452 struct {
456 } rcvq_space;
459 struct {
469 } westwood;
472 struct {
480 } vegas;
483 struct {
488 } bictcp;