Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/netfilter/
Dipt_SYNPROXY.c100 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()
244 mss = __cookie_v4_check(ip_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack()
374 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook()
Dnf_reject_ipv4.c84 tcph->seq = oth->ack_seq; in nf_reject_ip_tcphdr_put()
86 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_seqadj.c187 if (after(ntohl(tcph->ack_seq) - other_way->offset_before, in nf_ct_seq_adjust()
194 newack = htonl(ntohl(tcph->ack_seq) - ackoff); in nf_ct_seq_adjust()
197 inet_proto_csum_replace4(&tcph->check, skb, tcph->ack_seq, newack, in nf_ct_seq_adjust()
201 ntohl(tcph->seq), ntohl(newseq), ntohl(tcph->ack_seq), in nf_ct_seq_adjust()
205 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.c522 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window()
891 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in tcp_packet()
1018 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in tcp_packet()
/linux-4.4.14/net/ipv6/netfilter/
Dip6t_SYNPROXY.c113 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack()
157 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn()
198 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack()
199 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack()
237 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack()
257 mss = __cookie_v6_check(ipv6_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack()
394 synproxy->isn = ntohl(th->ack_seq); in ipv6_synproxy_hook()
Dnf_reject_ipv6.c107 tcph->seq = oth->ack_seq; in nf_reject_ip6_tcphdr_put()
108 tcph->ack_seq = 0; in nf_reject_ip6_tcphdr_put()
111 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put()
/linux-4.4.14/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-4.4.14/drivers/net/slip/
Dslhc.c378 if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){ in slhc_compress()
544 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress()
573 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress()
/linux-4.4.14/net/ipv4/
Dinet_lro.c110 tcph->ack_seq = lro_desc->tcp_ack; in lro_update_tcp_ip_header()
160 lro_desc->tcp_ack = tcph->ack_seq; in lro_init_desc()
195 lro_desc->tcp_ack = tcph->ack_seq; in lro_add_common()
Dtcp_offload.c240 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
Dtcp_input.c1060 if (before(start_seq_0, TCP_SKB_CB(ack_skb)->ack_seq)) { in tcp_check_dsack()
1624 if (before(TCP_SKB_CB(ack_skb)->ack_seq, prior_snd_una - tp->max_window)) in tcp_sacktag_write_queue()
1650 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && in tcp_sacktag_write_queue()
3320 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument
3324 after(ack_seq, tp->snd_wl1) || in tcp_may_update_window()
3325 (ack_seq == tp->snd_wl1 && nwin > tp->snd_wnd); in tcp_may_update_window()
3356 u32 ack_seq) in tcp_ack_update_window() argument
3365 if (tcp_may_update_window(tp, ack, ack_seq, nwin)) { in tcp_ack_update_window()
3367 tcp_update_wl(tp, ack_seq); in tcp_ack_update_window()
3518 u32 ack_seq = TCP_SKB_CB(skb)->seq; in tcp_ack() local
[all …]
Dsyncookies.c302 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v4_check()
Dtcp_ipv4.c619 rep.th.seq = th->ack_seq; in tcp_v4_send_reset()
622 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset()
747 rep.th.ack_seq = htonl(ack); in tcp_v4_send_ack()
1578 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v4_rcv()
Dtcp_minisocks.c699 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req()
Dtcp_output.c964 th->ack_seq = htonl(tp->rcv_nxt); in tcp_transmit_skb()
3017 th->ack_seq = htonl(tcp_rsk(req)->rcv_nxt); in tcp_make_synack()
/linux-4.4.14/drivers/isdn/pcbit/
Dlayer2.c500 ack_seq, in pcbit_irq_handler() local
534 ack_seq = (info >> 3) & 0x07U; in pcbit_irq_handler()
546 if (ack_seq != dev->unack_seq) { in pcbit_irq_handler()
547 pcbit_recv_ack(dev, ack_seq); in pcbit_irq_handler()
/linux-4.4.14/include/uapi/linux/
Dtcp.h28 __be32 ack_seq; member
/linux-4.4.14/net/ipv6/
Dtcp_ipv6.c774 t1->ack_seq = htonl(ack); in tcp_v6_send_response()
838 u32 seq = 0, ack_seq = 0; in tcp_v6_send_reset() local
889 seq = ntohl(th->ack_seq); in tcp_v6_send_reset()
891 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
895 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1, 0, 0); in tcp_v6_send_reset()
1331 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
Dsyncookies.c144 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_cm.c494 tcph->ack_seq = htonl(cm_node->tcp_cntxt.loc_ack_num); in form_cm_frame()
497 tcph->ack_seq = 0; in form_cm_frame()
1999 err = ((ntohl(tcph->ack_seq) == cm_node->tcp_cntxt.loc_seq_num)) ? 0 : 1; in check_syn()
2011 u32 ack_seq; in check_seq() local
2017 ack_seq = ntohl(tcph->ack_seq); in check_seq()
2019 if (ack_seq != loc_seq_num) in check_seq()
2117 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in handle_synack_pkt()
2135 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in handle_synack_pkt()
2141 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in handle_synack_pkt()
2183 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in handle_ack_pkt()
[all …]
Dnes_mgt.c180 *ack = be32_to_cpu(tcph->ack_seq); in nes_get_seq()
365 tcph->ack_seq = cpu_to_be32(ack); in get_fpdu_info()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c127 tcp->ack_seq = cqe->lro_ack_seq_num; in mlx5e_lro_update_hdr()
/linux-4.4.14/drivers/staging/gdm72xx/
Dgdm_sdio.c505 u32 *ack_seq = (u32 *)&hdr[4]; in gdm_sdio_irq() local
513 dev_dbg(&func->dev, "Ack... %0x\n", ntohl(*ack_seq)); in gdm_sdio_irq()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h402 u32 ack_seq; member
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h867 __be32 ack_seq; member
/linux-4.4.14/include/net/
Dtcp.h768 __u32 ack_seq; /* Sequence number ACK'd */ member
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c8292 lro->tcp_ack = tcp->ack_seq; in initiate_new_session()
8324 tcp->ack_seq = lro->tcp_ack; in update_L3L4_header()
8350 lro->tcp_ack = tcp->ack_seq; in aggregate_new_rx()