Searched refs:urg_seq (Results 1 – 6 of 6) 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()
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()1779 if (unlikely(tp->urg_data && tp->urg_seq == tp->copied_seq)) { in chtls_recvmsg()1863 u32 urg_offset = tp->urg_seq - tp->copied_seq; in chtls_recvmsg()1893 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) in chtls_recvmsg()
379 u32 urg_seq; /* Seq of received urgent pointer */ member
555 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll()616 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl()1699 u32 urg_offset = tp->urg_seq - seq; in tcp_read_sock()2480 if (unlikely(tp->urg_data) && tp->urg_seq == *seq) { in tcp_recvmsg_locked()2585 u32 urg_offset = tp->urg_seq - *seq; in tcp_recvmsg_locked()2618 if (unlikely(tp->urg_data) && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg_locked()
5610 if (tp->urg_data && !after(ptr, tp->urg_seq)) in tcp_check_urg()5631 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in tcp_check_urg()5642 WRITE_ONCE(tp->urg_seq, ptr); in tcp_check_urg()5659 u32 ptr = tp->urg_seq - ntohl(th->seq) + (th->doff * 4) - in tcp_urg()
2198 before(tp->urg_seq, tp->copied_seq) || in tcp_inq()2199 !before(tp->urg_seq, tp->rcv_nxt)) { in tcp_inq()2207 answ = tp->urg_seq - tp->copied_seq; in tcp_inq()