Lines Matching refs:seq
27 static bool tcp_in_window(u32 seq, u32 end_seq, u32 s_win, u32 e_win) in tcp_in_window() argument
29 if (seq == s_win) in tcp_in_window()
31 if (after(end_seq, s_win) && before(seq, e_win)) in tcp_in_window()
33 return seq == e_win && seq == end_seq; in tcp_in_window()
55 static void twsk_rcv_nxt_update(struct tcp_timewait_sock *tcptw, u32 seq, in twsk_rcv_nxt_update() argument
62 if (unlikely(ao && seq < rcv_nxt)) in twsk_rcv_nxt_update()
65 WRITE_ONCE(tcptw->tw_rcv_nxt, seq); in twsk_rcv_nxt_update()
128 !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process()
137 if (th->syn && !before(TCP_SKB_CB(skb)->seq, rcv_nxt)) in tcp_timewait_state_process()
143 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq) { in tcp_timewait_state_process()
192 (TCP_SKB_CB(skb)->seq == rcv_nxt && in tcp_timewait_state_process()
193 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process()
239 (after(TCP_SKB_CB(skb)->seq, rcv_nxt) || in tcp_timewait_state_process()
532 u32 seq; in tcp_create_openreq_child() local
546 seq = treq->rcv_isn + 1; in tcp_create_openreq_child()
547 newtp->rcv_wup = seq; in tcp_create_openreq_child()
548 WRITE_ONCE(newtp->copied_seq, seq); in tcp_create_openreq_child()
549 WRITE_ONCE(newtp->rcv_nxt, seq); in tcp_create_openreq_child()
552 seq = treq->snt_isn + 1; in tcp_create_openreq_child()
553 newtp->snd_sml = newtp->snd_una = seq; in tcp_create_openreq_child()
554 WRITE_ONCE(newtp->snd_nxt, seq); in tcp_create_openreq_child()
555 newtp->snd_up = seq; in tcp_create_openreq_child()
699 if (TCP_SKB_CB(skb)->seq == tcp_rsk(req)->rcv_isn && in tcp_check_req()
806 !tcp_in_window(TCP_SKB_CB(skb)->seq, in tcp_check_req()
831 if (TCP_SKB_CB(skb)->seq == tcp_rsk(req)->rcv_isn) { in tcp_check_req()
880 !after(TCP_SKB_CB(skb)->seq, tcp_rsk(req)->rcv_nxt)) in tcp_check_req()