Home
last modified time | relevance | path

Searched refs:ack_seq (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v4.19/net/netfilter/
Dnf_conntrack_seqadj.c196 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()
Dnf_log_common.c82 ntohl(th->seq), ntohl(th->ack_seq)); in nf_log_dump_tcp_header()
Dnf_conntrack_proto_tcp.c490 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/
Dipt_SYNPROXY.c99 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()
Dnf_reject_ipv4.c85 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/
Dip_vs_app.c314 __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/
Dip6t_SYNPROXY.c113 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()
Dnf_reject_ipv6.c106 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/
Dslhc.c378 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/
Dtcp_input.c119 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 …]
Dtcp_offload.c245 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
Dtcp_ipv4.c687 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()
Dsyncookies.c291 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v4_check()
Dtcp_minisocks.c714 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req()
/Linux-v4.19/net/rds/
Dib_cm.c102 __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/
Dtcp_ipv6.c831 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()
Dsyncookies.c141 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
/Linux-v4.19/include/uapi/linux/
Dtcp.h29 __be32 ack_seq; member
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes_cm.c495 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 …]
Dnes_mgt.c181 *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/
Di40iw_cm.c495 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/
Dcpl5_cmd.h402 u32 ack_seq; member
/Linux-v4.19/net/sched/
Dsch_cake.c954 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/
Dtcp.h830 __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/
Dt3_cpl.h867 __be32 ack_seq; member

12