Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/netfilter/
Dipt_SYNPROXY.c96 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack()
140 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn()
181 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack()
182 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack()
220 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack()
239 mss = __cookie_v4_check(ip_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack()
369 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.1.27/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, 0); in nf_ct_seq_adjust()
200 ntohl(tcph->seq), ntohl(newseq), ntohl(tcph->ack_seq), in nf_ct_seq_adjust()
204 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.1.27/net/ipv6/netfilter/
Dip6t_SYNPROXY.c111 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack()
155 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn()
196 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack()
197 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack()
235 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack()
254 mss = __cookie_v6_check(ipv6_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack()
391 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.1.27/net/netfilter/ipvs/
Dip_vs_app.c322 __u32 ack_seq = ntohl(th->ack_seq); in vs_fix_ack_seq() local
332 if(after(ack_seq, vseq->init_seq+vseq->delta)) { in vs_fix_ack_seq()
333 th->ack_seq = htonl(ack_seq - vseq->delta); in vs_fix_ack_seq()
338 th->ack_seq = htonl(ack_seq - vseq->previous_delta); in vs_fix_ack_seq()
/linux-4.1.27/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.1.27/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_input.c1055 u32 ack_seq = TCP_SKB_CB(skb)->ack_seq; in tcp_mark_lost_retrans() local
1078 if (after(received_upto, ack_seq)) { in tcp_mark_lost_retrans()
1085 if (before(ack_seq, new_low_seq)) in tcp_mark_lost_retrans()
1086 new_low_seq = ack_seq; in tcp_mark_lost_retrans()
1104 if (before(start_seq_0, TCP_SKB_CB(ack_skb)->ack_seq)) { in tcp_check_dsack()
1672 if (before(TCP_SKB_CB(ack_skb)->ack_seq, prior_snd_una - tp->max_window)) in tcp_sacktag_write_queue()
1698 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && in tcp_sacktag_write_queue()
3276 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument
3280 after(ack_seq, tp->snd_wl1) || in tcp_may_update_window()
3281 (ack_seq == tp->snd_wl1 && nwin > tp->snd_wnd); in tcp_may_update_window()
[all …]
Dtcp_offload.c240 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
Dsyncookies.c299 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v4_check()
Dtcp_ipv4.c616 rep.th.seq = th->ack_seq; in tcp_v4_send_reset()
619 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset()
744 rep.th.ack_seq = htonl(ack); in tcp_v4_send_ack()
1591 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v4_rcv()
Dtcp_minisocks.c687 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req()
Dtcp_output.c970 th->ack_seq = htonl(tp->rcv_nxt); in tcp_transmit_skb()
2672 TCP_SKB_CB(skb)->ack_seq = tp->snd_nxt; in tcp_retransmit_skb()
3008 th->ack_seq = htonl(tcp_rsk(req)->rcv_nxt); in tcp_make_synack()
/linux-4.1.27/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.1.27/include/uapi/linux/
Dtcp.h28 __be32 ack_seq; member
/linux-4.1.27/net/ipv6/
Dtcp_ipv6.c771 t1->ack_seq = htonl(ack); in tcp_v6_send_response()
835 u32 seq = 0, ack_seq = 0; in tcp_v6_send_reset() local
886 seq = ntohl(th->ack_seq); in tcp_v6_send_reset()
888 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
892 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1, 0, 0); in tcp_v6_send_reset()
1352 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
Dsyncookies.c164 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
/linux-4.1.27/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()
1996 err = ((ntohl(tcph->ack_seq) == cm_node->tcp_cntxt.loc_seq_num)) ? 0 : 1; in check_syn()
2008 u32 ack_seq; in check_seq() local
2014 ack_seq = ntohl(tcph->ack_seq); in check_seq()
2016 if (ack_seq != loc_seq_num) in check_seq()
2114 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in handle_synack_pkt()
2132 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in handle_synack_pkt()
2138 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in handle_synack_pkt()
2180 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.1.27/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.1.27/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h402 u32 ack_seq; member
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h867 __be32 ack_seq; member
/linux-4.1.27/include/net/
Dtcp.h728 __u32 ack_seq; /* Sequence number ACK'd */ member
/linux-4.1.27/drivers/net/ethernet/neterion/
Ds2io.c8316 lro->tcp_ack = tcp->ack_seq; in initiate_new_session()
8348 tcp->ack_seq = lro->tcp_ack; in update_L3L4_header()
8374 lro->tcp_ack = tcp->ack_seq; in aggregate_new_rx()