| /freebsd-13.1/sys/netinet/tcp_stacks/ |
| H A D | sack_filter.c | 126 sf->sf_blks[i].start = th_ack; in sack_filter_prune() 135 sf->sf_ack = th_ack; in sack_filter_prune() 500 tcp_seq th_ack) in sack_filter_blks() argument 528 sf->sf_ack = th_ack; in sack_filter_blks() 546 if (SEQ_GT(th_ack, sf->sf_ack)) { in sack_filter_blks() 547 sack_filter_prune(sf, th_ack); in sack_filter_blks() 550 if (SEQ_GEQ(th_ack, sf->sf_ack)) { in sack_filter_blks() 627 tcp_seq th_ack, snd_una, snd_max = 0; in main() local 731 snd_una = th_ack; in main() 733 } else if (SEQ_GT(th_ack, snd_una)) { in main() [all …]
|
| H A D | sack_filter.h | 54 tcp_seq th_ack);
|
| H A D | rack.c | 4571 tp->gput_seq = th_ack; in rack_do_goodput_measurement() 8098 tcp_seq th_ack, in rack_need_set_test() argument 8168 tp->gput_seq = th_ack; in rack_need_set_test() 8912 rsm->r_start = th_ack; in rack_process_to_cumack() 9110 snd_una = th_ack; in rack_update_prr() 9158 register uint32_t th_ack; in rack_log_ack() local 9174 th_ack = th->th_ack; in rack_log_ack() 9221 ack_point = th_ack; in rack_log_ack() 9954 tp->snd_una = th->th_ack; in rack_process_ack() 12850 th->th_ack = ae->ack; in rack_log_input_packet() [all …]
|
| H A D | bbr.c | 2168 log.u_bbr.flex5 = th_ack; in bbr_log_type_cwndupd() 7348 register uint32_t th_ack; in bbr_log_ack() local 7365 th_ack = th->th_ack; in bbr_log_ack() 7435 th_ack, tp->t_state, in bbr_log_ack() 7524 lrsm.r_end = th_ack; in bbr_log_ack() 7540 rsm->r_start = th_ack; in bbr_log_ack() 7571 ack_point = th_ack; in bbr_log_ack() 7841 tp->snd_una = th->th_ack; in bbr_process_ack() 8735 tp->snd_una = th->th_ack; in bbr_fastack() 8749 tp->snd_wl2 = th->th_ack; in bbr_fastack() [all …]
|
| /freebsd-13.1/sys/netinet/ |
| H A D | tcp_sack.c | 570 left_edge_delta = th_ack - tp->snd_una; in tcp_sack_doack() 572 sack_blocks[num_sack_blks++].end = th_ack; in tcp_sack_doack() 577 if (SEQ_LT(tp->snd_fack, th_ack)) { in tcp_sack_doack() 578 delivered_data += th_ack - tp->snd_una; in tcp_sack_doack() 579 tp->snd_fack = th_ack; in tcp_sack_doack() 595 SEQ_GT(sack.start, th_ack) && in tcp_sack_doack() 632 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack() 867 SEQ_LT(th->th_ack, tp->snd_recover) && in tcp_sack_partialack() 880 if (th->th_ack != highdata) { in tcp_sack_partialack() 881 tp->snd_fack = th->th_ack; in tcp_sack_partialack() [all …]
|
| H A D | tcp_input.c | 390 tp->ccv->curack = th->th_ack; in cc_ack_received() 523 tp->ccv->curack = th->th_ack; in cc_post_recovery() 1594 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment() 1882 tp->snd_una = th->th_ack; in tcp_do_segment() 1887 tp->snd_wl2 = th->th_ack; in tcp_do_segment() 2084 tp->snd_nxt = th->th_ack; in tcp_do_segment() 2680 if (SEQ_LEQ(th->th_ack, in tcp_do_segment() 2987 tp->snd_una = th->th_ack; in tcp_do_segment() 3071 tp->snd_wl2 = th->th_ack; in tcp_do_segment() 3445 th->th_ack, TH_RST); in tcp_dropwithreset() [all …]
|
| H A D | tcpip.h | 53 #define ti_ack ti_t.th_ack
|
| H A D | tcp_lro.c | 621 uint32_t th_ack, uint16_t th_win) in tcp_lro_log() argument 644 log.u_bbr.delivered = th_ack; in tcp_lro_log() 736 pa->tcp->th_ack = le->ack_seq; in tcp_lro_update_checksum() 897 le->ack_seq = th->th_ack; in tcp_set_entry_to_mbuf() 1074 le->ack_seq == th->th_ack && in tcp_lro_condense() 1081 SEQ_GT(ntohl(th->th_ack), ntohl(le->ack_seq))) { in tcp_lro_condense() 1083 le->ack_seq = th->th_ack; in tcp_lro_condense() 1086 } else if (th->th_ack == le->ack_seq) { in tcp_lro_condense() 1555 ae->ack = ntohl(th->th_ack); in build_ack_entry() 1846 SEQ_LT(ntohl(th->th_ack), ntohl(le->ack_seq))) { in tcp_lro_rx_common()
|
| H A D | tcp_var.h | 443 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una) 1129 th->th_ack = ntohl(th->th_ack); in tcp_fields_to_host() 1139 th->th_ack = htonl(th->th_ack); in tcp_fields_to_net()
|
| H A D | tcp_timewait.c | 461 (tcp_seq)0, th->th_ack, TH_RST); in tcp_twcheck() 505 th->th_seq != tw->rcv_nxt || th->th_ack != tw->snd_nxt) { in tcp_twcheck() 672 th->th_ack = htonl(tw->rcv_nxt); in tcp_twrespond()
|
| H A D | tcp_debug.c | 175 ack = th->th_ack; in tcp_trace()
|
| /freebsd-13.1/sys/net/ |
| H A D | slcompress.c | 294 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp() 530 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp_core() 549 DECODEL(th->th_ack) in sl_uncompress_tcp_core()
|
| /freebsd-13.1/usr.sbin/ppp/ |
| H A D | slcompress.c | 308 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp() 517 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp() 536 DECODEL(th->th_ack) in sl_uncompress_tcp()
|
| /freebsd-13.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | tcp.h | 44 uint32_t th_ack; /* (u) */ member
|
| /freebsd-13.1/sbin/ipf/ipsend/ |
| H A D | iptests.c | 919 t->th_ack = 0; in ip_test5() 993 t->th_ack = 0; in ip_test5() 999 t->th_ack = htonl(1); in ip_test5() 1005 t->th_ack = htonl(0x7fffffff); in ip_test5() 1011 t->th_ack = htonl(0x80000000); in ip_test5() 1017 t->th_ack = htonl(0xc0000000); in ip_test5() 1023 t->th_ack = htonl(0xffffffff); in ip_test5() 1145 t->th_ack = htonl(1); in ip_test5()
|
| H A D | resend.c | 57 (u_long)t->th_seq, (u_long)t->th_ack); in dumppacket()
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | tcp.h | 45 tcp_seq th_ack; /* acknowledgement number */ member
|
| /freebsd-13.1/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_fil_freebsd.c | 381 tcp2->th_seq = tcp->th_ack; in ipf_send_reset() 383 tcp2->th_ack = 0; in ipf_send_reset() 386 tcp2->th_ack = ntohl(tcp->th_seq); in ipf_send_reset() 387 tcp2->th_ack += tlen; in ipf_send_reset() 388 tcp2->th_ack = htonl(tcp2->th_ack); in ipf_send_reset()
|
| H A D | ip_proxy.c | 1176 seq1 = ntohl(tcp->th_ack); in ipf_proxy_fixseqack() 1191 tcp->th_ack = htonl(seq1 - seq2); in ipf_proxy_fixseqack() 1229 seq1 = ntohl(tcp->th_ack); in ipf_proxy_fixseqack() 1248 tcp->th_ack = htonl(seq1 - seq2); in ipf_proxy_fixseqack() 1256 (u_32_t)ntohl(tcp->th_seq), (u_32_t)ntohl(tcp->th_ack)); in ipf_proxy_fixseqack()
|
| H A D | ip_pptp_pxy.c | 520 pptp->pptp_side[1 - rev].pptps_next = ntohl(tcp->th_ack); in ipf_p_pptp_inout() 521 pptp->pptp_side[1 - rev].pptps_nexthdr = ntohl(tcp->th_ack); in ipf_p_pptp_inout()
|
| /freebsd-13.1/sys/netinet/khelp/ |
| H A D | h_ertt.c | 220 acked = th->th_ack - tp->snd_una; in ertt_packet_measurement_hook() 230 ack = th->th_ack; in ertt_packet_measurement_hook()
|
| /freebsd-13.1/sys/netpfil/pf/ |
| H A D | pf_syncookies.c | 308 ack = ntohl(pd->hdr.tcp.th_ack) - 1; in pf_syncookie_validate() 483 ack = ntohl(pd->hdr.tcp.th_ack) - 1; in pf_syncookie_recreate_syn()
|
| /freebsd-13.1/sbin/ipf/libipf/ |
| H A D | ipft_tx.c | 290 tcp->th_ack = htonl(atoi(*cpp + 4)); in parseline() 461 tcp->th_ack = htonl(atoi(*cpp + 4)); in parseipv6()
|
| /freebsd-13.1/cddl/lib/libdtrace/ |
| H A D | tcp.d | 267 tcp_ack = p == NULL ? -1 : ntohl(p->th_ack); 286 tcp_ack = p == NULL ? -1 : p->th_ack;
|
| /freebsd-13.1/sys/netinet/libalias/ |
| H A D | alias.c | 1034 delta = GetDeltaAckIn(tc->th_ack, lnk); in TcpAliasIn() 1036 accumulate += twowords(&tc->th_ack); in TcpAliasIn() 1037 tc->th_ack = htonl(ntohl(tc->th_ack) - delta); in TcpAliasIn() 1038 accumulate -= twowords(&tc->th_ack); in TcpAliasIn()
|