/linux-6.3-rc2/net/mptcp/ |
A D | fastopen.c | 65 MPTCP_SKB_CB(skb)->map_seq, MPTCP_SKB_CB(skb)->map_seq + msk->ack_seq, in mptcp_fastopen_gen_msk_ackseq() 66 MPTCP_SKB_CB(skb)->end_seq, MPTCP_SKB_CB(skb)->end_seq + msk->ack_seq); in mptcp_fastopen_gen_msk_ackseq() 67 MPTCP_SKB_CB(skb)->map_seq += msk->ack_seq; in mptcp_fastopen_gen_msk_ackseq() 68 MPTCP_SKB_CB(skb)->end_seq += msk->ack_seq; in mptcp_fastopen_gen_msk_ackseq() 71 pr_debug("msk=%p ack_seq=%llx", msk, msk->ack_seq); in mptcp_fastopen_gen_msk_ackseq()
|
A D | options.c | 568 u64 ack_seq; in mptcp_established_options_dss() local 600 ack_seq = READ_ONCE(msk->ack_seq); in mptcp_established_options_dss() 603 opts->ext_copy.data_ack = ack_seq; in mptcp_established_options_dss() 607 opts->ext_copy.data_ack32 = (uint32_t)ack_seq; in mptcp_established_options_dss() 1081 mptcp_expand_seq(READ_ONCE(msk->ack_seq), data_fin_seq, use_64bit)); in mptcp_update_rcv_data_fin() 1241 u64 ack_seq, rcv_wnd_old, rcv_wnd_new; in mptcp_set_rwin() local 1249 ack_seq = READ_ONCE(msk->ack_seq); in mptcp_set_rwin() 1250 rcv_wnd_new = ack_seq + tp->rcv_wnd; in mptcp_set_rwin() 1273 win = rcv_wnd_old - ack_seq; in mptcp_set_rwin()
|
A D | subflow.c | 452 WRITE_ONCE(msk->ack_seq, subflow->iasn); in subflow_set_remote_key() 1129 map_seq = mptcp_expand_seq(READ_ONCE(msk->ack_seq), mpext->data_seq, mpext->dsn64); in get_mapping_status() 1276 u64 ack_seq; in subflow_check_data_avail() local 1295 old_ack = READ_ONCE(msk->ack_seq); in subflow_check_data_avail() 1296 ack_seq = mptcp_subflow_get_mapped_dsn(subflow); in subflow_check_data_avail() 1298 ack_seq); in subflow_check_data_avail() 1299 if (unlikely(before64(ack_seq, old_ack))) { in subflow_check_data_avail() 1300 mptcp_subflow_discard_data(ssk, skb, old_ack - ack_seq); in subflow_check_data_avail() 1352 subflow->map_seq = READ_ONCE(msk->ack_seq); in subflow_check_data_avail()
|
A D | protocol.c | 365 if (MPTCP_SKB_CB(skb)->map_seq == msk->ack_seq) { in __mptcp_move_skb() 367 WRITE_ONCE(msk->ack_seq, msk->ack_seq + copy_len); in __mptcp_move_skb() 451 if (msk->ack_seq == rcv_data_fin_seq) { in mptcp_pending_data_fin() 590 WRITE_ONCE(msk->ack_seq, msk->ack_seq + 1); in mptcp_check_data_fin() 724 if (after64(MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq)) in __mptcp_ofo_queue() 731 msk->ack_seq))) { in __mptcp_ofo_queue() 740 int delta = msk->ack_seq - MPTCP_SKB_CB(skb)->map_seq; in __mptcp_ofo_queue() 744 MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq, in __mptcp_ofo_queue() 750 msk->ack_seq = end_seq; in __mptcp_ofo_queue() 2048 u64 hint_val = msk->ack_seq - MPTCP_SKB_CB(skb)->map_seq; in mptcp_inq_hint() [all …]
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_synproxy_core.c | 473 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 519 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn() 560 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 561 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 599 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack() 710 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook() 886 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack_ipv6() 933 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn_ipv6() 974 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack_ipv6() 1014 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack_ipv6() [all …]
|
A 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()
|
A D | nf_conntrack_proto_tcp.c | 525 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window() 1043 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in nf_conntrack_tcp_packet() 1109 ct->proto.tcp.last_ack = ntohl(th->ack_seq); in nf_conntrack_tcp_packet() 1224 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in nf_conntrack_tcp_packet()
|
/linux-6.3-rc2/net/netfilter/ipvs/ |
A 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()
|
/linux-6.3-rc2/drivers/net/slip/ |
A 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()
|
/linux-6.3-rc2/net/ipv6/netfilter/ |
A D | nf_reject_ipv6.c | 237 tcph->seq = oth->ack_seq; in nf_reject_ip6_tcphdr_put() 238 tcph->ack_seq = 0; in nf_reject_ip6_tcphdr_put() 241 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put()
|
/linux-6.3-rc2/net/ipv4/ |
A D | tcp_offload.c | 240 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
|
A D | tcp_input.c | 3519 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument 3523 after(ack_seq, tp->snd_wl1) || in tcp_may_update_window() 3553 u32 ack_seq) in tcp_ack_update_window() argument 3564 tcp_update_wl(tp, ack_seq); in tcp_ack_update_window() 3768 u32 ack_seq = TCP_SKB_CB(skb)->seq; in tcp_ack() local 3769 u32 ack = TCP_SKB_CB(skb)->ack_seq; in tcp_ack() 3829 tcp_update_wl(tp, ack_seq); in tcp_ack() 3839 if (ack_seq != TCP_SKB_CB(skb)->end_seq) in tcp_ack() 4268 u32 ack = TCP_SKB_CB(skb)->ack_seq; in tcp_disordered_ack() 4682 TCP_SKB_CB(to)->ack_seq = TCP_SKB_CB(from)->ack_seq; in tcp_try_coalesce() [all …]
|
A D | tcp_ipv4.c | 714 rep.th.seq = th->ack_seq; in tcp_v4_send_reset() 717 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset() 895 rep.th.ack_seq = htonl(ack); in tcp_v4_send_ack() 1882 if (likely(!before(TCP_SKB_CB(skb)->ack_seq, TCP_SKB_CB(tail)->ack_seq))) { in tcp_add_backlog() 1883 TCP_SKB_CB(tail)->ack_seq = TCP_SKB_CB(skb)->ack_seq; in tcp_add_backlog() 1962 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v4_fill_cb()
|
A D | syncookies.c | 333 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v4_check()
|
/linux-6.3-rc2/net/ipv4/netfilter/ |
A D | nf_reject_ipv4.c | 206 tcph->seq = oth->ack_seq; in nf_reject_ip_tcphdr_put() 208 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_btf_skc_cls_ingress.c | 64 recv_cookie = bpf_ntohl(th->ack_seq) - 1; in test_syncookie_helper()
|
A D | test_tcp_check_syncookie_kern.c | 142 __u32 cookie = bpf_ntohl(tcph->ack_seq) - 1; in check_syncookie()
|
/linux-6.3-rc2/net/rds/ |
A D | ib_cm.c | 78 __be64 ack_seq = 0; in rds_ib_cm_connect_complete() local 96 ack_seq = get_unaligned(&dp->ricp_v6.dp_ack_seq); in rds_ib_cm_connect_complete() 103 ack_seq = get_unaligned(&dp->ricp_v4.dp_ack_seq); in rds_ib_cm_connect_complete() 154 if (ack_seq) in rds_ib_cm_connect_complete() 155 rds_send_drop_acked(conn, be64_to_cpu(ack_seq), in rds_ib_cm_connect_complete()
|
/linux-6.3-rc2/include/linux/ceph/ |
A D | msgr.h | 202 __le64 ack_seq; member
|
/linux-6.3-rc2/drivers/infiniband/hw/irdma/ |
A D | cm.c | 355 tcph->ack_seq = htonl(cm_node->tcp_cntxt.loc_ack_num); in irdma_form_ah_cm_frame() 358 tcph->ack_seq = 0; in irdma_form_ah_cm_frame() 543 tcph->ack_seq = htonl(cm_node->tcp_cntxt.loc_ack_num); in irdma_form_uda_cm_frame() 546 tcph->ack_seq = 0; in irdma_form_uda_cm_frame() 2588 u32 ack_seq; in irdma_check_seq() local 2595 ack_seq = ntohl(tcph->ack_seq); in irdma_check_seq() 2597 if (ack_seq != loc_seq_num || in irdma_check_seq() 2710 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in irdma_handle_synack_pkt() 2735 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in irdma_handle_synack_pkt() 2741 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in irdma_handle_synack_pkt() [all …]
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | tcp.h | 29 __be32 ack_seq; member
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | tcp.h | 29 __be32 ack_seq; member
|
/linux-6.3-rc2/net/ipv6/ |
A D | tcp_ipv6.c | 895 t1->ack_seq = htonl(ack); in tcp_v6_send_response() 983 u32 seq = 0, ack_seq = 0; in tcp_v6_send_reset() local 1053 seq = ntohl(th->ack_seq); in tcp_v6_send_reset() 1055 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset() 1079 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1, in tcp_v6_send_reset() 1580 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
|
A D | syncookies.c | 136 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb/ |
A D | cpl5_cmd.h | 393 u32 ack_seq; member
|