/Linux-v5.4/net/netfilter/ |
D | nf_synproxy_core.c | 491 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 537 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn() 578 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 579 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 617 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack() 638 mss = __cookie_v4_check(ip_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack() 729 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook() 905 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack_ipv6() 952 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn_ipv6() 993 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()
|
D | nf_conntrack_proto_tcp.c | 483 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window() 921 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in nf_conntrack_tcp_packet() 1073 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in nf_conntrack_tcp_packet()
|
/Linux-v5.4/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()
|
/Linux-v5.4/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-v5.4/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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/net/ipv4/ |
D | tcp_input.c | 119 void (*cad)(struct sock *sk, u32 ack_seq)) in clean_acked_data_enable() argument 1101 if (before(start_seq_0, TCP_SKB_CB(ack_skb)->ack_seq)) { in tcp_check_dsack() 1691 if (before(TCP_SKB_CB(ack_skb)->ack_seq, prior_snd_una - tp->max_window)) in tcp_sacktag_write_queue() 1717 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && in tcp_sacktag_write_queue() 3342 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument 3346 after(ack_seq, tp->snd_wl1) || in tcp_may_update_window() 3347 (ack_seq == tp->snd_wl1 && nwin > tp->snd_wnd); in tcp_may_update_window() 3376 u32 ack_seq) in tcp_ack_update_window() argument 3385 if (tcp_may_update_window(tp, ack, ack_seq, nwin)) { in tcp_ack_update_window() 3387 tcp_update_wl(tp, ack_seq); in tcp_ack_update_window() [all …]
|
D | tcp_offload.c | 242 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
|
D | tcp_ipv4.c | 690 rep.th.seq = th->ack_seq; in tcp_v4_send_reset() 693 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset() 841 rep.th.ack_seq = htonl(ack); in tcp_v4_send_ack() 1717 if (after(TCP_SKB_CB(skb)->ack_seq, TCP_SKB_CB(tail)->ack_seq)) in tcp_add_backlog() 1718 TCP_SKB_CB(tail)->ack_seq = TCP_SKB_CB(skb)->ack_seq; in tcp_add_backlog() 1795 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 | 698 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req()
|
D | tcp_output.c | 1103 th->ack_seq = htonl(rcv_nxt); in __tcp_transmit_skb() 3324 th->ack_seq = htonl(tcp_rsk(req)->rcv_nxt); in tcp_make_synack()
|
/Linux-v5.4/net/rds/ |
D | ib_cm.c | 103 __be64 ack_seq = 0; in rds_ib_cm_connect_complete() local 121 ack_seq = get_unaligned(&dp->ricp_v6.dp_ack_seq); in rds_ib_cm_connect_complete() 128 ack_seq = get_unaligned(&dp->ricp_v4.dp_ack_seq); in rds_ib_cm_connect_complete() 187 if (ack_seq) in rds_ib_cm_connect_complete() 188 rds_send_drop_acked(conn, be64_to_cpu(ack_seq), in rds_ib_cm_connect_complete()
|
/Linux-v5.4/tools/testing/selftests/bpf/progs/ |
D | test_tcp_check_syncookie_kern.c | 142 __u32 cookie = bpf_ntohl(tcph->ack_seq) - 1; in check_syncookie()
|
/Linux-v5.4/include/uapi/linux/ |
D | tcp.h | 29 __be32 ack_seq; member
|
/Linux-v5.4/net/ipv6/ |
D | tcp_ipv6.c | 844 t1->ack_seq = htonl(ack); in tcp_v6_send_response() 927 u32 seq = 0, ack_seq = 0; in tcp_v6_send_reset() local 984 seq = ntohl(th->ack_seq); in tcp_v6_send_reset() 986 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset() 1008 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1, 0, in tcp_v6_send_reset() 1470 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
|
D | syncookies.c | 136 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
|
/Linux-v5.4/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() 2546 if (ntohl(tcph->ack_seq) != cm_node->tcp_cntxt.loc_seq_num) { in i40iw_check_syn() 2562 u32 ack_seq; in i40iw_check_seq() local 2568 ack_seq = ntohl(tcph->ack_seq); in i40iw_check_seq() 2570 if (ack_seq != loc_seq_num) in i40iw_check_seq() 2673 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in i40iw_handle_synack_pkt() 2700 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in i40iw_handle_synack_pkt() 2706 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in i40iw_handle_synack_pkt() 2750 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in i40iw_handle_ack_pkt() [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 402 u32 ack_seq; member
|
/Linux-v5.4/net/sched/ |
D | sch_cake.c | 961 u32 ack_seq_a = ntohl(tcph_a->ack_seq); in cake_tcph_sack_compare() 1207 after(ntohl(tcph_check->ack_seq), ntohl(tcph->ack_seq))) in cake_ack_filter() 1219 (ntohl(tcph_check->ack_seq) == ntohl(tcph->ack_seq) && in cake_ack_filter()
|
/Linux-v5.4/include/net/ |
D | tcp.h | 837 __u32 ack_seq; /* Sequence number ACK'd */ member 2260 void (*cad)(struct sock *sk, u32 ack_seq));
|
/Linux-v5.4/drivers/staging/wilc1000/ |
D | wilc_wlan.c | 165 ack_no = ntohl(tcp_hdr_ptr->ack_seq); in tcp_process()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_cpl.h | 867 __be32 ack_seq; member
|