Searched refs:urg_seq (Results 1 – 6 of 6) sorted by relevance
1637 static void handle_urg_ptr(struct sock *sk, u32 urg_seq) in handle_urg_ptr() argument1641 urg_seq--; in handle_urg_ptr()1642 if (tp->urg_data && !after(urg_seq, tp->urg_seq)) in handle_urg_ptr()1646 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in handle_urg_ptr()1657 tp->urg_seq = urg_seq; in handle_urg_ptr()1707 tp->urg_seq - tp->rcv_nxt < skb->len)) in chtls_recv_data()1709 skb->data[tp->urg_seq - tp->rcv_nxt]; in chtls_recv_data()1769 if (unlikely(tp->urg_data == TCP_URG_NOTYET && tp->urg_seq - in chtls_recv_pdu()1772 skb->data[tp->urg_seq - tp->rcv_nxt]; in chtls_recv_pdu()
1455 tp->urg_seq == tp->copied_seq)) { in chtls_pt_recvmsg()1542 u32 urg_offset = tp->urg_seq - tp->copied_seq; in chtls_pt_recvmsg()1586 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) in chtls_pt_recvmsg()1633 if (unlikely(tp->urg_data && tp->urg_seq == peek_seq)) { in peekmsg()1698 u32 urg_offset = tp->urg_seq - peek_seq; in peekmsg()1781 if (unlikely(tp->urg_data && tp->urg_seq == tp->copied_seq)) { in chtls_recvmsg()1865 u32 urg_offset = tp->urg_seq - tp->copied_seq; in chtls_recvmsg()1895 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) in chtls_recvmsg()
349 u32 urg_seq; /* Seq of received urgent pointer */ member
556 if (READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll()618 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl()1655 u32 urg_offset = tp->urg_seq - seq; in tcp_read_sock()2347 if (tp->urg_data && tp->urg_seq == *seq) { in tcp_recvmsg_locked()2454 u32 urg_offset = tp->urg_seq - *seq; in tcp_recvmsg_locked()2487 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg_locked()
5546 if (tp->urg_data && !after(ptr, tp->urg_seq)) in tcp_check_urg()5567 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in tcp_check_urg()5578 WRITE_ONCE(tp->urg_seq, ptr); in tcp_check_urg()5595 u32 ptr = tp->urg_seq - ntohl(th->seq) + (th->doff * 4) - in tcp_urg()
2137 before(tp->urg_seq, tp->copied_seq) || in tcp_inq()2138 !before(tp->urg_seq, tp->rcv_nxt)) { in tcp_inq()2146 answ = tp->urg_seq - tp->copied_seq; in tcp_inq()