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()
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()
381 u32 urg_seq; /* Seq of received urgent pointer */ member
558 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll()621 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl()1572 u32 urg_offset = tp->urg_seq - seq; in tcp_read_sock()2375 if (unlikely(tp->urg_data) && tp->urg_seq == *seq) { in tcp_recvmsg_locked()2484 u32 urg_offset = tp->urg_seq - *seq; in tcp_recvmsg_locked()2517 if (unlikely(tp->urg_data) && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg_locked()
5661 if (tp->urg_data && !after(ptr, tp->urg_seq)) in tcp_check_urg()5682 if (tp->urg_seq == tp->copied_seq && tp->urg_data && in tcp_check_urg()5693 WRITE_ONCE(tp->urg_seq, ptr); in tcp_check_urg()5710 u32 ptr = tp->urg_seq - ntohl(th->seq) + (th->doff * 4) - in tcp_urg()
2281 before(tp->urg_seq, tp->copied_seq) || in tcp_inq()2282 !before(tp->urg_seq, tp->rcv_nxt)) { in tcp_inq()2290 answ = tp->urg_seq - tp->copied_seq; in tcp_inq()