• Home
  • Raw
  • Download

Lines Matching refs:tcptw

46 	struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw);  in tcp_timewait_check_oow_rate_limit()  local
49 &tcptw->tw_last_oow_ack_time)) { in tcp_timewait_check_oow_rate_limit()
96 struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw); in tcp_timewait_state_process() local
100 if (th->doff > (sizeof(*th) >> 2) && tcptw->tw_ts_recent_stamp) { in tcp_timewait_state_process()
105 tmp_opt.rcv_tsecr -= tcptw->tw_ts_offset; in tcp_timewait_state_process()
106 tmp_opt.ts_recent = tcptw->tw_ts_recent; in tcp_timewait_state_process()
107 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_timewait_state_process()
118 tcptw->tw_rcv_nxt, in tcp_timewait_state_process()
119 tcptw->tw_rcv_nxt + tcptw->tw_rcv_wnd)) in tcp_timewait_state_process()
126 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt)) in tcp_timewait_state_process()
131 !after(TCP_SKB_CB(skb)->end_seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process()
141 TCP_SKB_CB(skb)->end_seq != tcptw->tw_rcv_nxt + 1) in tcp_timewait_state_process()
146 tcptw->tw_rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_timewait_state_process()
148 tcptw->tw_ts_recent_stamp = ktime_get_seconds(); in tcp_timewait_state_process()
149 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
174 (TCP_SKB_CB(skb)->seq == tcptw->tw_rcv_nxt && in tcp_timewait_state_process()
193 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
194 tcptw->tw_ts_recent_stamp = ktime_get_seconds(); in tcp_timewait_state_process()
219 (after(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process()
221 (s32)(tcptw->tw_ts_recent - tmp_opt.rcv_tsval) < 0))) { in tcp_timewait_state_process()
222 u32 isn = tcptw->tw_snd_nxt + 65535 + 2; in tcp_timewait_state_process()
263 struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw); in tcp_time_wait() local
271 tcptw->tw_rcv_nxt = tp->rcv_nxt; in tcp_time_wait()
272 tcptw->tw_snd_nxt = tp->snd_nxt; in tcp_time_wait()
273 tcptw->tw_rcv_wnd = tcp_receive_window(tp); in tcp_time_wait()
274 tcptw->tw_ts_recent = tp->rx_opt.ts_recent; in tcp_time_wait()
275 tcptw->tw_ts_recent_stamp = tp->rx_opt.ts_recent_stamp; in tcp_time_wait()
276 tcptw->tw_ts_offset = tp->tsoffset; in tcp_time_wait()
277 tcptw->tw_last_oow_ack_time = 0; in tcp_time_wait()
278 tcptw->tw_tx_delay = tp->tcp_tx_delay; in tcp_time_wait()
300 tcptw->tw_md5_key = NULL; in tcp_time_wait()
306 tcptw->tw_md5_key = kmemdup(key, sizeof(*key), GFP_ATOMIC); in tcp_time_wait()
307 BUG_ON(tcptw->tw_md5_key && !tcp_alloc_md5sig_pool()); in tcp_time_wait()