Searched refs:tcptw (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/net/ipv4/ |
D | tcp_minisocks.c | 88 const struct tcp_timewait_sock *tcptw = tcp_twsk(sk); in tcp_tw_remember_stamp() local 90 if ((s32)(peer->tcp_ts - tcptw->tw_ts_recent) <= 0 || in tcp_tw_remember_stamp() 92 peer->tcp_ts_stamp <= (u32)tcptw->tw_ts_recent_stamp)) { in tcp_tw_remember_stamp() 93 peer->tcp_ts_stamp = (u32)tcptw->tw_ts_recent_stamp; in tcp_tw_remember_stamp() 94 peer->tcp_ts = tcptw->tw_ts_recent; in tcp_tw_remember_stamp() 145 struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw); in tcp_timewait_state_process() local 149 if (th->doff > (sizeof(*th) >> 2) && tcptw->tw_ts_recent_stamp) { in tcp_timewait_state_process() 153 tmp_opt.ts_recent = tcptw->tw_ts_recent; in tcp_timewait_state_process() 154 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_timewait_state_process() 165 tcptw->tw_rcv_nxt, in tcp_timewait_state_process() [all …]
|
D | tcp_ipv4.c | 111 const struct tcp_timewait_sock *tcptw = tcp_twsk(sktw); in tcp_twsk_unique() local 125 if (tcptw->tw_ts_recent_stamp && in tcp_twsk_unique() 127 get_seconds() - tcptw->tw_ts_recent_stamp > 1))) { in tcp_twsk_unique() 128 tp->write_seq = tcptw->tw_snd_nxt + 65535 + 2; in tcp_twsk_unique() 131 tp->rx_opt.ts_recent = tcptw->tw_ts_recent; in tcp_twsk_unique() 132 tp->rx_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_twsk_unique() 781 struct tcp_timewait_sock *tcptw = tcp_twsk(sk); in tcp_v4_timewait_ack() local 783 tcp_v4_send_ack(skb, tcptw->tw_snd_nxt, tcptw->tw_rcv_nxt, in tcp_v4_timewait_ack() 784 tcptw->tw_rcv_wnd >> tw->tw_rcv_wscale, in tcp_v4_timewait_ack() 785 tcptw->tw_ts_recent, in tcp_v4_timewait_ack() [all …]
|
/linux-3.4.99/net/ipv6/ |
D | tcp_ipv6.c | 996 struct tcp_timewait_sock *tcptw = tcp_twsk(sk); in tcp_v6_timewait_ack() local 998 tcp_v6_send_ack(skb, tcptw->tw_snd_nxt, tcptw->tw_rcv_nxt, in tcp_v6_timewait_ack() 999 tcptw->tw_rcv_wnd >> tw->tw_rcv_wscale, in tcp_v6_timewait_ack() 1000 tcptw->tw_ts_recent, tcp_twsk_md5_key(tcptw), in tcp_v6_timewait_ack()
|