Searched refs:ack_seq (Results 1 – 16 of 16) sorted by relevance
/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() 377 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook()
|
D | nf_reject_ipv4.c | 86 tcph->seq = oth->ack_seq; in nf_reject_ip_tcphdr_put() 88 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
|
/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() 398 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()
|
/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 | 520 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window() 889 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in tcp_packet() 1016 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in tcp_packet()
|
/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()
|
/net/ipv4/ |
D | tcp_input.c | 1104 if (before(start_seq_0, TCP_SKB_CB(ack_skb)->ack_seq)) { in tcp_check_dsack() 1683 if (before(TCP_SKB_CB(ack_skb)->ack_seq, prior_snd_una - tp->max_window)) in tcp_sacktag_write_queue() 1709 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && in tcp_sacktag_write_queue() 3367 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument 3371 after(ack_seq, tp->snd_wl1) || in tcp_may_update_window() 3372 (ack_seq == tp->snd_wl1 && nwin > tp->snd_wnd); in tcp_may_update_window() 3405 u32 ack_seq) in tcp_ack_update_window() argument 3414 if (tcp_may_update_window(tp, ack, ack_seq, nwin)) { in tcp_ack_update_window() 3416 tcp_update_wl(tp, ack_seq); in tcp_ack_update_window() 3600 u32 ack_seq = TCP_SKB_CB(skb)->seq; in tcp_ack() local [all …]
|
D | tcp_offload.c | 237 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
|
D | tcp_ipv4.c | 626 rep.th.seq = th->ack_seq; in tcp_v4_send_reset() 629 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset() 761 rep.th.ack_seq = htonl(ack); in tcp_v4_send_ack() 1646 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v4_rcv()
|
D | syncookies.c | 299 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v4_check()
|
D | tcp_minisocks.c | 703 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req()
|
D | tcp_output.c | 972 th->ack_seq = htonl(tp->rcv_nxt); in tcp_transmit_skb() 3143 th->ack_seq = htonl(tcp_rsk(req)->rcv_nxt); in tcp_make_synack()
|
/net/ipv6/ |
D | tcp_ipv6.c | 796 t1->ack_seq = htonl(ack); in tcp_v6_send_response() 866 u32 seq = 0, ack_seq = 0; in tcp_v6_send_reset() local 918 seq = ntohl(th->ack_seq); in tcp_v6_send_reset() 920 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset() 924 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1, 0, 0); in tcp_v6_send_reset() 1377 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
|
D | syncookies.c | 143 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
|