/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_synproxy_core.c | 496 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 542 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn() 583 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 584 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 622 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack() 643 mss = __cookie_v4_check(ip_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack() 733 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook() 909 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack_ipv6() 956 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn_ipv6() 997 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack_ipv6() [all …]
|
D | nf_conntrack_seqadj.c | 198 if (after(ntohl(tcph->ack_seq) - other_way->offset_before, in nf_ct_seq_adjust() 204 newack = htonl(ntohl(tcph->ack_seq) - ackoff); in nf_ct_seq_adjust() 205 inet_proto_csum_replace4(&tcph->check, skb, tcph->ack_seq, newack, in nf_ct_seq_adjust() 208 ntohl(tcph->seq), ntohl(newseq), ntohl(tcph->ack_seq), in nf_ct_seq_adjust() 210 tcph->ack_seq = newack; in nf_ct_seq_adjust()
|
D | nf_log_common.c | 79 ntohl(th->seq), ntohl(th->ack_seq)); in nf_log_dump_tcp_header()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_app.c | 317 __u32 ack_seq = ntohl(th->ack_seq); in vs_fix_ack_seq() local 327 if(after(ack_seq, vseq->init_seq+vseq->delta)) { in vs_fix_ack_seq() 328 th->ack_seq = htonl(ack_seq - vseq->delta); in vs_fix_ack_seq() 333 th->ack_seq = htonl(ack_seq - vseq->previous_delta); in vs_fix_ack_seq()
|
/kernel/linux/linux-5.10/net/mptcp/ |
D | protocol.c | 165 max_seq = space > 0 ? space + msk->ack_seq : msk->ack_seq; in mptcp_data_queue_ofo() 296 if (MPTCP_SKB_CB(skb)->map_seq == msk->ack_seq) { in __mptcp_move_skb() 298 WRITE_ONCE(msk->ack_seq, msk->ack_seq + copy_len); in __mptcp_move_skb() 306 } else if (after64(MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq)) { in __mptcp_move_skb() 372 if (msk->ack_seq == rcv_data_fin_seq) { in mptcp_pending_data_fin() 417 WRITE_ONCE(msk->ack_seq, msk->ack_seq + 1); in mptcp_check_data_fin() 558 if (after64(MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq)) in mptcp_ofo_queue() 565 msk->ack_seq))) { in mptcp_ofo_queue() 574 int delta = msk->ack_seq - MPTCP_SKB_CB(skb)->map_seq; in mptcp_ofo_queue() 578 MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq, in mptcp_ofo_queue() [all …]
|
D | subflow.c | 896 u64 ack_seq; in subflow_check_data_avail() local 909 subflow->map_seq = READ_ONCE(msk->ack_seq); in subflow_check_data_avail() 933 WRITE_ONCE(msk->ack_seq, subflow->map_seq); in subflow_check_data_avail() 937 old_ack = READ_ONCE(msk->ack_seq); in subflow_check_data_avail() 938 ack_seq = mptcp_subflow_get_mapped_dsn(subflow); in subflow_check_data_avail() 940 ack_seq); in subflow_check_data_avail() 941 if (ack_seq == old_ack) { in subflow_check_data_avail() 944 } else if (after64(ack_seq, old_ack)) { in subflow_check_data_avail() 952 mptcp_subflow_discard_data(ssk, skb, old_ack - ack_seq); in subflow_check_data_avail()
|
D | mptcp_diag.c | 144 info->mptcpi_rcv_nxt = READ_ONCE(msk->ack_seq); in mptcp_diag_get_info()
|
/kernel/linux/linux-5.10/drivers/net/slip/ |
D | slhc.c | 384 if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){ in slhc_compress() 554 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress() 583 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 103 tcph->seq = oth->ack_seq; in nf_reject_ip6_tcphdr_put() 104 tcph->ack_seq = 0; in nf_reject_ip6_tcphdr_put() 107 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | nip_output.c | 450 u32 ack_seq, u32 win, int rst, u32 priority) in tcp_nip_actual_send_reset() argument 488 t1->ack_seq = htonl(ack_seq); in tcp_nip_actual_send_reset() 496 seq, t1->seq, ack_seq, t1->ack_seq); in tcp_nip_actual_send_reset()
|
D | tcp_nip_input.c | 273 TCP_SKB_CB(to)->ack_seq = TCP_SKB_CB(from)->ack_seq; in tcp_nip_try_coalesce() 1255 const u32 ack, const u32 ack_seq, in tcp_nip_may_update_window() argument 1259 after(ack_seq, tp->snd_wl1) || in tcp_nip_may_update_window() 1260 (ack_seq == tp->snd_wl1 && nwin > tp->snd_wnd); in tcp_nip_may_update_window() 1264 u32 ack_seq) in tcp_nip_ack_update_window() argument 1272 if (tcp_nip_may_update_window(tp, ack, ack_seq, nwin)) { in tcp_nip_ack_update_window() 1273 tcp_update_wl(tp, ack_seq); in tcp_nip_ack_update_window() 1627 u32 ack_seq = TCP_SKB_CB(skb)->seq; in tcp_nip_ack() local 1628 u32 ack = TCP_SKB_CB(skb)->ack_seq; in tcp_nip_ack() 1644 tcp_nip_ack_update_window(sk, skb, ack, ack_seq); in tcp_nip_ack() [all …]
|
D | tcp_nip.c | 743 u32 ack_seq = 0; in tcp_nip_send_reset() local 752 seq = ntohl(th->ack_seq); in tcp_nip_send_reset() 754 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_nip_send_reset() 757 tcp_nip_actual_send_reset(sk, skb, seq, ack_seq, 0, 1, priority); in tcp_nip_send_reset() 1896 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_nip_fill_cb()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 82 tcph->seq = oth->ack_seq; in nf_reject_ip_tcphdr_put() 84 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_offload.c | 242 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
|
D | tcp_input.c | 120 void (*cad)(struct sock *sk, u32 ack_seq)) in clean_acked_data_enable() argument 1241 if (before(start_seq_0, TCP_SKB_CB(ack_skb)->ack_seq)) { in tcp_check_dsack() 1821 if (before(TCP_SKB_CB(ack_skb)->ack_seq, prior_snd_una - tp->max_window)) in tcp_sacktag_write_queue() 1847 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && in tcp_sacktag_write_queue() 3489 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument 3493 after(ack_seq, tp->snd_wl1) || in tcp_may_update_window() 3494 (ack_seq == tp->snd_wl1 && nwin > tp->snd_wnd); in tcp_may_update_window() 3523 u32 ack_seq) in tcp_ack_update_window() argument 3532 if (tcp_may_update_window(tp, ack, ack_seq, nwin)) { in tcp_ack_update_window() 3534 tcp_update_wl(tp, ack_seq); in tcp_ack_update_window() [all …]
|
D | tcp_ipv4.c | 699 rep.th.seq = th->ack_seq; in tcp_v4_send_reset() 702 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset() 865 rep.th.ack_seq = htonl(ack); in tcp_v4_send_ack() 1843 if (likely(!before(TCP_SKB_CB(skb)->ack_seq, TCP_SKB_CB(tail)->ack_seq))) { in tcp_add_backlog() 1844 TCP_SKB_CB(tail)->ack_seq = TCP_SKB_CB(skb)->ack_seq; in tcp_add_backlog() 1922 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v4_fill_cb()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_btf_skc_cls_ingress.c | 64 recv_cookie = bpf_ntohl(th->ack_seq) - 1; in test_syncookie_helper()
|
D | test_tcp_check_syncookie_kern.c | 142 __u32 cookie = bpf_ntohl(tcph->ack_seq) - 1; in check_syncookie()
|
/kernel/linux/linux-5.10/net/rds/ |
D | ib_cm.c | 104 __be64 ack_seq = 0; in rds_ib_cm_connect_complete() local 122 ack_seq = get_unaligned(&dp->ricp_v6.dp_ack_seq); in rds_ib_cm_connect_complete() 129 ack_seq = get_unaligned(&dp->ricp_v4.dp_ack_seq); in rds_ib_cm_connect_complete() 188 if (ack_seq) in rds_ib_cm_connect_complete() 189 rds_send_drop_acked(conn, be64_to_cpu(ack_seq), in rds_ib_cm_connect_complete()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
D | nip.h | 68 u32 ack_seq, u32 win, int rst, u32 priority);
|
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/ |
D | tcp.h | 107 uint32_t ack_seq; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | tcp.h | 28 __be32 ack_seq; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | tcp.h | 29 __be32 ack_seq; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | tcp.h | 15 __be32 ack_seq; member
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | tcp_ipv6.c | 923 t1->ack_seq = htonl(ack); in tcp_v6_send_response() 1006 u32 seq = 0, ack_seq = 0; in tcp_v6_send_reset() local 1076 seq = ntohl(th->ack_seq); in tcp_v6_send_reset() 1078 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset() 1100 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1, in tcp_v6_send_reset() 1596 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
|