Lines Matching refs:seq
33 static bool tcp_in_window(u32 seq, u32 end_seq, u32 s_win, u32 e_win) in tcp_in_window() argument
35 if (seq == s_win) in tcp_in_window()
37 if (after(end_seq, s_win) && before(seq, e_win)) in tcp_in_window()
39 return seq == e_win && seq == end_seq; in tcp_in_window()
117 !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process()
126 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt)) in tcp_timewait_state_process()
132 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq) { in tcp_timewait_state_process()
174 (TCP_SKB_CB(skb)->seq == tcptw->tw_rcv_nxt && in tcp_timewait_state_process()
175 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process()
219 (after(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process()
465 u32 seq; in tcp_create_openreq_child() local
479 seq = treq->rcv_isn + 1; in tcp_create_openreq_child()
480 newtp->rcv_wup = seq; in tcp_create_openreq_child()
481 WRITE_ONCE(newtp->copied_seq, seq); in tcp_create_openreq_child()
482 WRITE_ONCE(newtp->rcv_nxt, seq); in tcp_create_openreq_child()
485 seq = treq->snt_isn + 1; in tcp_create_openreq_child()
486 newtp->snd_sml = newtp->snd_una = seq; in tcp_create_openreq_child()
487 WRITE_ONCE(newtp->snd_nxt, seq); in tcp_create_openreq_child()
488 newtp->snd_up = seq; in tcp_create_openreq_child()
602 if (TCP_SKB_CB(skb)->seq == tcp_rsk(req)->rcv_isn && in tcp_check_req()
714 if (paws_reject || !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_check_req()
732 if (tmp_opt.saw_tstamp && !after(TCP_SKB_CB(skb)->seq, tcp_rsk(req)->rcv_nxt)) in tcp_check_req()
735 if (TCP_SKB_CB(skb)->seq == tcp_rsk(req)->rcv_isn) { in tcp_check_req()