Searched refs:urg_seq (Results 1 – 6 of 6) sorted by relevance
1621 static void handle_urg_ptr(struct sock *sk, u32 urg_seq) in handle_urg_ptr() argument1625 urg_seq--; in handle_urg_ptr()1626 if (tp->urg_data && !after(urg_seq, tp->urg_seq)) in handle_urg_ptr()1630 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in handle_urg_ptr()1641 tp->urg_seq = urg_seq; in handle_urg_ptr()1691 tp->urg_seq - tp->rcv_nxt < skb->len)) in chtls_recv_data()1693 skb->data[tp->urg_seq - tp->rcv_nxt]; in chtls_recv_data()1753 if (unlikely(tp->urg_data == TCP_URG_NOTYET && tp->urg_seq - in chtls_recv_pdu()1756 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()1584 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) in chtls_pt_recvmsg()1631 if (unlikely(tp->urg_data && tp->urg_seq == peek_seq)) { in peekmsg()1696 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()
349 u32 urg_seq; /* Seq of received urgent pointer */ member
560 if (READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll()622 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl()1641 u32 urg_offset = tp->urg_seq - seq; in tcp_read_sock()2079 if (tp->urg_data && tp->urg_seq == *seq) { in tcp_recvmsg()2186 u32 urg_offset = tp->urg_seq - *seq; in tcp_recvmsg()2219 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg()
5487 if (tp->urg_data && !after(ptr, tp->urg_seq)) in tcp_check_urg()5508 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in tcp_check_urg()5519 WRITE_ONCE(tp->urg_seq, ptr); in tcp_check_urg()5536 u32 ptr = tp->urg_seq - ntohl(th->seq) + (th->doff * 4) - in tcp_urg()
2129 before(tp->urg_seq, tp->copied_seq) || in tcp_inq()2130 !before(tp->urg_seq, tp->rcv_nxt)) { in tcp_inq()2138 answ = tp->urg_seq - tp->copied_seq; in tcp_inq()