| /net/netfilter/ |
| A D | nf_synproxy_core.c | 473 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 519 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn() 560 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 561 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 599 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack() 710 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook() 886 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack_ipv6() 933 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn_ipv6() 974 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack_ipv6() 1014 nth->ack_seq = th->ack_seq; in synproxy_send_client_ack_ipv6() [all …]
|
| A 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()
|
| A D | nf_conntrack_proto_tcp.c | 527 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window() 1046 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in nf_conntrack_tcp_packet() 1112 ct->proto.tcp.last_ack = ntohl(th->ack_seq); in nf_conntrack_tcp_packet() 1227 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in nf_conntrack_tcp_packet()
|
| A D | nf_log_syslog.c | 211 ntohl(th->seq), ntohl(th->ack_seq)); in nf_log_dump_tcp_header()
|
| /net/netfilter/ipvs/ |
| A 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()
|
| /net/mptcp/ |
| A D | options.c | 563 u64 ack_seq; in mptcp_established_options_dss() local 594 ack_seq = READ_ONCE(msk->ack_seq); in mptcp_established_options_dss() 597 opts->ext_copy.data_ack = ack_seq; in mptcp_established_options_dss() 601 opts->ext_copy.data_ack32 = (uint32_t)ack_seq; in mptcp_established_options_dss() 1097 mptcp_expand_seq(READ_ONCE(msk->ack_seq), data_fin_seq, use_64bit)); in mptcp_update_rcv_data_fin() 1262 u64 ack_seq, rcv_wnd_old, rcv_wnd_new; in mptcp_set_rwin() local 1270 ack_seq = READ_ONCE(msk->ack_seq); in mptcp_set_rwin() 1271 rcv_wnd_new = ack_seq + tp->rcv_wnd; in mptcp_set_rwin() 1295 win = rcv_wnd_old - ack_seq; in mptcp_set_rwin()
|
| A D | subflow.c | 495 WRITE_ONCE(msk->ack_seq, subflow->iasn); in subflow_set_remote_key() 1190 map_seq = mptcp_expand_seq(READ_ONCE(msk->ack_seq), mpext->data_seq, mpext->dsn64); in get_mapping_status() 1302 mptcp_update_rcv_data_fin(msk, READ_ONCE(msk->ack_seq), true)) in subflow_sched_work_if_closed() 1357 u64 ack_seq; in subflow_check_data_avail() local 1376 old_ack = READ_ONCE(msk->ack_seq); in subflow_check_data_avail() 1377 ack_seq = mptcp_subflow_get_mapped_dsn(subflow); in subflow_check_data_avail() 1379 ack_seq); in subflow_check_data_avail() 1380 if (unlikely(before64(ack_seq, old_ack))) { in subflow_check_data_avail() 1381 mptcp_subflow_discard_data(ssk, skb, old_ack - ack_seq); in subflow_check_data_avail() 1432 subflow->map_seq = READ_ONCE(msk->ack_seq); in subflow_check_data_avail()
|
| A D | protocol.c | 328 if (MPTCP_SKB_CB(skb)->map_seq == msk->ack_seq) { in __mptcp_move_skb() 331 WRITE_ONCE(msk->ack_seq, msk->ack_seq + copy_len); in __mptcp_move_skb() 416 if (READ_ONCE(msk->ack_seq) == rcv_data_fin_seq) { in mptcp_pending_data_fin() 552 WRITE_ONCE(msk->ack_seq, msk->ack_seq + 1); in mptcp_check_data_fin() 673 if (after64(MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq)) in __mptcp_ofo_queue() 680 msk->ack_seq))) { in __mptcp_ofo_queue() 689 int delta = msk->ack_seq - MPTCP_SKB_CB(skb)->map_seq; in __mptcp_ofo_queue() 693 MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq, in __mptcp_ofo_queue() 699 msk->bytes_received += end_seq - msk->ack_seq; in __mptcp_ofo_queue() 700 WRITE_ONCE(msk->ack_seq, end_seq); in __mptcp_ofo_queue() [all …]
|
| A D | protocol.h | 284 u64 ack_seq; member
|
| A D | sockopt.c | 1009 info->mptcpi_rcv_nxt = msk->ack_seq; in mptcp_diag_fill_info()
|
| /net/ipv4/ |
| A D | tcp_input.c | 3499 const u32 ack, const u32 ack_seq, in tcp_may_update_window() argument 3503 after(ack_seq, tp->snd_wl1) || in tcp_may_update_window() 3569 u32 ack_seq) in tcp_ack_update_window() argument 3580 tcp_update_wl(tp, ack_seq); in tcp_ack_update_window() 3813 u32 ack_seq = TCP_SKB_CB(skb)->seq; in tcp_ack() local 3814 u32 ack = TCP_SKB_CB(skb)->ack_seq; in tcp_ack() 3878 tcp_update_wl(tp, ack_seq); in tcp_ack() 3884 if (ack_seq != TCP_SKB_CB(skb)->end_seq) in tcp_ack() 4351 u32 ack = TCP_SKB_CB(skb)->ack_seq; in tcp_disordered_ack_check() 4801 TCP_SKB_CB(to)->ack_seq = TCP_SKB_CB(from)->ack_seq; in tcp_try_coalesce() [all …]
|
| A D | syncookies.c | 185 __u32 cookie = ntohl(th->ack_seq) - 1; in __cookie_v4_check() 286 treq->snt_isn = ntohl(th->ack_seq) - 1; in cookie_tcp_reqsk_init()
|
| A D | tcp_offload.c | 336 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
|
| A D | tcp_ipv4.c | 781 rep.th.seq = th->ack_seq; in tcp_v4_send_reset() 784 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset() 972 rep.th.ack_seq = htonl(ack); in tcp_v4_send_ack() 2089 if (likely(!before(TCP_SKB_CB(skb)->ack_seq, TCP_SKB_CB(tail)->ack_seq))) { 2090 TCP_SKB_CB(tail)->ack_seq = TCP_SKB_CB(skb)->ack_seq; 2183 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq);
|
| A D | tcp_minisocks.c | 799 (TCP_SKB_CB(skb)->ack_seq != in tcp_check_req()
|
| A D | tcp_output.c | 1396 th->ack_seq = htonl(rcv_nxt); in __tcp_transmit_skb() 3834 th->ack_seq = htonl(tcp_rsk(req)->rcv_nxt); in tcp_make_synack()
|
| A D | tcp_ao.c | 1041 disn = htonl(ntohl(th->ack_seq) - 1); in tcp_inbound_ao_hash()
|
| /net/ipv4/netfilter/ |
| A D | nf_reject_ipv4.c | 206 tcph->seq = oth->ack_seq; in nf_reject_ip_tcphdr_put() 208 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
|
| /net/rds/ |
| A D | ib_cm.c | 78 __be64 ack_seq = 0; in rds_ib_cm_connect_complete() local 96 ack_seq = get_unaligned(&dp->ricp_v6.dp_ack_seq); in rds_ib_cm_connect_complete() 103 ack_seq = get_unaligned(&dp->ricp_v4.dp_ack_seq); in rds_ib_cm_connect_complete() 154 if (ack_seq) in rds_ib_cm_connect_complete() 155 rds_send_drop_acked(conn, be64_to_cpu(ack_seq), in rds_ib_cm_connect_complete()
|
| /net/ipv6/netfilter/ |
| A D | nf_reject_ipv6.c | 235 tcph->seq = oth->ack_seq; in nf_reject_ip6_tcphdr_put() 237 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put()
|
| /net/ipv6/ |
| A D | tcp_ipv6.c | 913 t1->ack_seq = htonl(ack); in tcp_v6_send_response() 1025 u32 seq = 0, ack_seq = 0; in tcp_v6_send_reset() local 1100 seq = ntohl(th->ack_seq); in tcp_v6_send_reset() 1102 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset() 1139 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, 1, in tcp_v6_send_reset() 1742 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq);
|
| A D | syncookies.c | 119 __u32 cookie = ntohl(th->ack_seq) - 1; in __cookie_v6_check()
|
| /net/sched/ |
| A D | sch_cake.c | 1046 u32 ack_seq_a = ntohl(tcph_a->ack_seq); in cake_tcph_sack_compare() 1294 after(ntohl(tcph_check->ack_seq), ntohl(tcph->ack_seq))) in cake_ack_filter() 1306 (ntohl(tcph_check->ack_seq) == ntohl(tcph->ack_seq) && in cake_ack_filter()
|
| /net/ceph/ |
| A D | messenger.c | 671 void ceph_con_discard_sent(struct ceph_connection *con, u64 ack_seq) in ceph_con_discard_sent() argument 676 dout("%s con %p ack_seq %llu\n", __func__, con, ack_seq); in ceph_con_discard_sent() 682 if (seq > ack_seq) in ceph_con_discard_sent()
|
| A D | messenger_v2.c | 624 const struct ceph_msg_header *hdr, u64 ack_seq) in fill_header2() argument 633 hdr2->ack_seq = cpu_to_le64(ack_seq); in fill_header2() 2884 ceph_con_discard_sent(con, le64_to_cpu(hdr2->ack_seq)); in process_message_header()
|