/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_seqadj.c | 196 if (after(ntohl(tcph->ack_seq) - other_way->offset_before, in nf_ct_seq_adjust() 202 newack = htonl(ntohl(tcph->ack_seq) - ackoff); in nf_ct_seq_adjust() 203 inet_proto_csum_replace4(&tcph->check, skb, tcph->ack_seq, newack, in nf_ct_seq_adjust() 206 ntohl(tcph->seq), ntohl(newseq), ntohl(tcph->ack_seq), in nf_ct_seq_adjust() 208 tcph->ack_seq = newack; in nf_ct_seq_adjust()
|
D | nf_log_common.c | 82 ntohl(th->seq), ntohl(th->ack_seq)); in nf_log_dump_tcp_header()
|
D | nf_conntrack_proto_tcp.c | 490 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window() 849 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in tcp_packet() 979 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in tcp_packet()
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | ipt_SYNPROXY.c | 99 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 144 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn() 185 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 186 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 224 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack() 245 mss = __cookie_v4_check(ip_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack() 385 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook()
|
D | nf_reject_ipv4.c | 85 tcph->seq = oth->ack_seq; in nf_reject_ip_tcphdr_put() 87 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
|
/Linux-v4.19/net/netfilter/ipvs/ |
D | ip_vs_app.c | 314 __u32 ack_seq = ntohl(th->ack_seq); in vs_fix_ack_seq() local 324 if(after(ack_seq, vseq->init_seq+vseq->delta)) { in vs_fix_ack_seq() 325 th->ack_seq = htonl(ack_seq - vseq->delta); in vs_fix_ack_seq() 330 th->ack_seq = htonl(ack_seq - vseq->previous_delta); in vs_fix_ack_seq()
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | ip6t_SYNPROXY.c | 113 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 158 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn() 199 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 200 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 238 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack() 259 mss = __cookie_v6_check(ipv6_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack() 406 synproxy->isn = ntohl(th->ack_seq); in ipv6_synproxy_hook()
|
D | nf_reject_ipv6.c | 106 tcph->seq = oth->ack_seq; in nf_reject_ip6_tcphdr_put() 107 tcph->ack_seq = 0; in nf_reject_ip6_tcphdr_put() 110 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put()
|
/Linux-v4.19/drivers/net/slip/ |
D | slhc.c | 378 if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){ in slhc_compress() 548 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress() 577 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress()
|
/Linux-v4.19/net/ipv4/ |
D | tcp_input.c | 119 void (*cad)(struct sock *sk, u32 ack_seq)) in clean_acked_data_enable() argument 1108 if (before(start_seq_0, TCP_SKB_CB(ack_skb)->ack_seq)) { in tcp_check_dsack() 1687 if (before(TCP_SKB_CB(ack_skb)->ack_seq, prior_snd_una - tp->max_window)) in tcp_sacktag_write_queue() 1713 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && in tcp_sacktag_write_queue() 3333 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument 3337 after(ack_seq, tp->snd_wl1) || in tcp_may_update_window() 3338 (ack_seq == tp->snd_wl1 && nwin > tp->snd_wnd); in tcp_may_update_window() 3367 u32 ack_seq) in tcp_ack_update_window() argument 3376 if (tcp_may_update_window(tp, ack, ack_seq, nwin)) { in tcp_ack_update_window() 3378 tcp_update_wl(tp, ack_seq); in tcp_ack_update_window() [all …]
|
D | tcp_offload.c | 245 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
|
D | tcp_ipv4.c | 687 rep.th.seq = th->ack_seq; in tcp_v4_send_reset() 690 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset() 832 rep.th.ack_seq = htonl(ack); in tcp_v4_send_ack() 1679 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v4_fill_cb()
|
D | syncookies.c | 291 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v4_check()
|
D | tcp_minisocks.c | 714 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req()
|
/Linux-v4.19/net/rds/ |
D | ib_cm.c | 102 __be64 ack_seq = 0; in rds_ib_cm_connect_complete() local 120 ack_seq = get_unaligned(&dp->ricp_v6.dp_ack_seq); in rds_ib_cm_connect_complete() 127 ack_seq = get_unaligned(&dp->ricp_v4.dp_ack_seq); in rds_ib_cm_connect_complete() 182 if (ack_seq) in rds_ib_cm_connect_complete() 183 rds_send_drop_acked(conn, be64_to_cpu(ack_seq), in rds_ib_cm_connect_complete()
|
/Linux-v4.19/net/ipv6/ |
D | tcp_ipv6.c | 831 t1->ack_seq = htonl(ack); in tcp_v6_send_response() 904 u32 seq = 0, ack_seq = 0; in tcp_v6_send_reset() local 958 seq = ntohl(th->ack_seq); in tcp_v6_send_reset() 960 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset() 969 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1, 0, 0); in tcp_v6_send_reset() 1418 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
|
D | syncookies.c | 141 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
|
/Linux-v4.19/include/uapi/linux/ |
D | tcp.h | 29 __be32 ack_seq; member
|
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 495 tcph->ack_seq = htonl(cm_node->tcp_cntxt.loc_ack_num); in form_cm_frame() 498 tcph->ack_seq = 0; in form_cm_frame() 1860 err = ((ntohl(tcph->ack_seq) == cm_node->tcp_cntxt.loc_seq_num)) ? 0 : 1; in check_syn() 1872 u32 ack_seq; in check_seq() local 1878 ack_seq = ntohl(tcph->ack_seq); in check_seq() 1880 if (ack_seq != loc_seq_num) in check_seq() 1978 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in handle_synack_pkt() 1996 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in handle_synack_pkt() 2002 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in handle_synack_pkt() 2044 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in handle_ack_pkt() [all …]
|
D | nes_mgt.c | 181 *ack = be32_to_cpu(tcph->ack_seq); in nes_get_seq() 365 tcph->ack_seq = cpu_to_be32(ack); in get_fpdu_info()
|
/Linux-v4.19/drivers/infiniband/hw/i40iw/ |
D | i40iw_cm.c | 495 tcph->ack_seq = htonl(cm_node->tcp_cntxt.loc_ack_num); in i40iw_form_cm_frame() 498 tcph->ack_seq = 0; in i40iw_form_cm_frame() 2543 if (ntohl(tcph->ack_seq) != cm_node->tcp_cntxt.loc_seq_num) { in i40iw_check_syn() 2559 u32 ack_seq; in i40iw_check_seq() local 2565 ack_seq = ntohl(tcph->ack_seq); in i40iw_check_seq() 2567 if (ack_seq != loc_seq_num) in i40iw_check_seq() 2670 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in i40iw_handle_synack_pkt() 2697 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in i40iw_handle_synack_pkt() 2703 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in i40iw_handle_synack_pkt() 2747 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in i40iw_handle_ack_pkt() [all …]
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 402 u32 ack_seq; member
|
/Linux-v4.19/net/sched/ |
D | sch_cake.c | 954 u32 ack_seq_a = ntohl(tcph_a->ack_seq); in cake_tcph_sack_compare() 1200 after(ntohl(tcph_check->ack_seq), ntohl(tcph->ack_seq))) in cake_ack_filter() 1212 (ntohl(tcph_check->ack_seq) == ntohl(tcph->ack_seq) && in cake_ack_filter()
|
/Linux-v4.19/include/net/ |
D | tcp.h | 830 __u32 ack_seq; /* Sequence number ACK'd */ member 2169 void (*cad)(struct sock *sk, u32 ack_seq));
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_cpl.h | 867 __be32 ack_seq; member
|