Searched refs:urg_seq (Results 1 – 5 of 5) sorted by relevance
1636 static void handle_urg_ptr(struct sock *sk, u32 urg_seq) in handle_urg_ptr() argument1640 urg_seq--; in handle_urg_ptr()1641 if (tp->urg_data && !after(urg_seq, tp->urg_seq)) in handle_urg_ptr()1645 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in handle_urg_ptr()1656 tp->urg_seq = urg_seq; in handle_urg_ptr()1706 tp->urg_seq - tp->rcv_nxt < skb->len)) in chtls_recv_data()1708 skb->data[tp->urg_seq - tp->rcv_nxt]; in chtls_recv_data()1768 if (unlikely(tp->urg_data == TCP_URG_NOTYET && tp->urg_seq - in chtls_recv_pdu()1771 skb->data[tp->urg_seq - tp->rcv_nxt]; in chtls_recv_pdu()
1369 tp->urg_seq == tp->copied_seq)) { in chtls_pt_recvmsg()1460 u32 urg_offset = tp->urg_seq - tp->copied_seq; in chtls_pt_recvmsg()1504 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) in chtls_pt_recvmsg()1554 if (unlikely(tp->urg_data && tp->urg_seq == peek_seq)) { in peekmsg()1624 u32 urg_offset = tp->urg_seq - peek_seq; in peekmsg()1706 if (unlikely(tp->urg_data && tp->urg_seq == tp->copied_seq)) { in chtls_recvmsg()1794 u32 urg_offset = tp->urg_seq - tp->copied_seq; in chtls_recvmsg()1824 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) in chtls_recvmsg()
572 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll()635 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl()1587 u32 urg_offset = tp->urg_seq - seq; in tcp_read_sock()2616 if (unlikely(tp->urg_data) && tp->urg_seq == *seq) { in tcp_recvmsg_locked()2725 u32 urg_offset = tp->urg_seq - *seq; in tcp_recvmsg_locked()2790 if (unlikely(tp->urg_data) && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg_locked()
5861 if (tp->urg_data && !after(ptr, tp->urg_seq)) in tcp_check_urg()5882 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in tcp_check_urg()5893 WRITE_ONCE(tp->urg_seq, ptr); in tcp_check_urg()5910 u32 ptr = tp->urg_seq - ntohl(th->seq) + (th->doff * 4) - in tcp_urg()
2509 before(tp->urg_seq, tp->copied_seq) || in tcp_inq()2510 !before(tp->urg_seq, tp->rcv_nxt)) { in tcp_inq()2518 answ = tp->urg_seq - tp->copied_seq; in tcp_inq()