/freebsd/sys/netinet/tcp_stacks/ |
H A D | tailq_hash.c | 319 tqhash_trim(struct tailq_hash *hs, uint32_t th_ack) in tqhash_trim() argument 323 if (SEQ_LT(th_ack, hs->min)) { in tqhash_trim() 327 if (SEQ_GEQ(th_ack, hs->max)) { in tqhash_trim() 336 if (SEQ_GEQ(th_ack, rsm->r_end)) { in tqhash_trim() 343 if (SEQ_GT(th_ack, hs->min)) in tqhash_trim() 344 hs->min = th_ack; in tqhash_trim() 349 if (SEQ_GT(th_ack, rsm->r_start)) { in tqhash_trim() 350 rsm->r_start = th_ack; in tqhash_trim() 357 uint32_t th_ack) in tqhash_update_end() argument 360 hs->max = th_ack; in tqhash_update_end() [all …]
|
H A D | sack_filter.c | 128 sack_filter_prune(struct sack_filter *sf, tcp_seq th_ack) in sack_filter_prune() 134 if (SEQ_GEQ(th_ack, sf->sf_blks[i].end)) { in sack_filter_prune() 138 } else if (SEQ_GT(th_ack, sf->sf_blks[i].start)) { 140 sf->sf_blks[i].start = th_ack; 149 sf->sf_ack = th_ack; in is_sack_on_board() 367 sack_filter_run(struct sack_filter *sf, struct sackblk *in, int numblks, tcp_seq th_ack, int32_t segmax, uint32_t snd_max) 564 tcp_seq th_ack) in sack_filter_reject() 589 sf->sf_ack = th_ack; in sack_filter_reject() 615 if (SEQ_GT(th_ack, sf->sf_ack)) { in sack_filter_reject() 616 sack_filter_prune(sf, th_ack); in sack_filter_reject() 115 sack_filter_prune(struct sack_filter * sf,tcp_seq th_ack) sack_filter_prune() argument 306 sack_filter_new(struct sack_filter * sf,struct sackblk * in,int numblks,tcp_seq th_ack) sack_filter_new() argument 501 sack_filter_blks(struct sack_filter * sf,struct sackblk * in,int numblks,tcp_seq th_ack) sack_filter_blks() argument 628 tcp_seq th_ack, snd_una, snd_max = 0; main() local [all...] |
H A D | tailq_hash.h | 56 tqhash_trim(struct tailq_hash *hs, uint32_t th_ack); 60 uint32_t th_ack);
|
H A D | rack.c | 454 uint32_t th_ack, uint16_t nsegs, uint16_t type, int32_t recovery); 496 tcp_seq th_ack, int line, uint8_t quality); 542 struct rack_sendmap *rsm, struct tcpopt *to, uint32_t cts, int32_t ack_type, tcp_seq th_ack); 2788 int flag, uint32_t th_ack, int line) in rack_log_map_chg() argument 2817 log.u_bbr.pkts_out = th_ack; in rack_log_map_chg() 3595 rack_enough_for_measurement(struct tcpcb *tp, struct tcp_rack *rack, tcp_seq th_ack, uint8_t *quali… in rack_enough_for_measurement() argument 3602 if (SEQ_LT(th_ack, tp->gput_seq)) { in rack_enough_for_measurement() 3607 (th_ack == tp->snd_max)){ in rack_enough_for_measurement() 3621 if (SEQ_GEQ(th_ack, tp->gput_ack)) { in rack_enough_for_measurement() 3632 if (SEQ_LT(th_ack, tp->gput_ack) && in rack_enough_for_measurement() [all …]
|
H A D | sack_filter.h | 83 * as what the new th_ack point is. The filter will return to you the number of 91 * data is now un-acknowledged). You can also pass in sack_filter_blks(tp, sf, NULL, 0, th_ack) to 96 * sack_filter_blks(tp, sf, NULL, 0, th_ack); 117 tcp_seq th_ack);
|
H A D | bbr.c | 2139 uint32_t prev_acked, int32_t meth, uint32_t target, uint32_t th_ack, int32_t line) in bbr_log_type_cwndupd() argument 2149 log.u_bbr.flex5 = th_ack; in bbr_log_type_cwndupd() 3594 SEQ_GEQ(th->th_ack, tp->gput_ack)) { in bbr_ack_received() 3604 gput = (int64_t) (th->th_ack - tp->gput_seq) * 8; in bbr_ack_received() 3690 prev_acked, 1, target_cwnd, th->th_ack, line); in bbr_ack_received() 3733 …bbr_log_type_cwndupd(bbr, saved_bytes, sack_changed, prev_acked, meth, target_cwnd, th->th_ack, li… in bbr_ack_received() 6761 struct bbr_sendmap *rsm, struct tcpopt *to, uint32_t cts, int32_t ack_type, uint32_t th_ack) in bbr_update_rtt() argument 7189 bbr_peer_reneges(struct tcp_bbr *bbr, struct bbr_sendmap *rsm, tcp_seq th_ack) in bbr_peer_reneges() argument 7240 sack_filter_clear(&bbr->r_ctl.bbr_sf, th_ack); in bbr_peer_reneges() 7291 register uint32_t th_ack; in bbr_log_ack() local [all …]
|
/freebsd/sys/netinet/ |
H A D | tcp_input.c | 319 SEQ_GEQ(th->th_ack, tp->gput_ack)) { in cc_ack_received() 323 gput = (((int64_t)SEQ_SUB(th->th_ack, tp->gput_seq)) << 3) / in cc_ack_received() 355 tp->t_ccv.curack = th->th_ack; in cc_ack_received() 441 SEQ_GEQ(th->th_ack, tp->snd_recover)) { in cc_cong_signal() 479 tp->t_ccv.curack = th->th_ack; in cc_cong_signal() 490 if (SEQ_LT(tp->snd_fack, th->th_ack) || in cc_post_recovery() 492 tp->snd_fack = th->th_ack; in cc_post_recovery() 494 tp->t_ccv.curack = th->th_ack; in cc_post_recovery() 1571 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment() 1604 tcp_packets_this_ack(tp, th->th_ack), in tcp_do_segment() [all …]
|
H A D | tcp_sack.c | 559 tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack) in tcp_sack_doack() argument 584 if (SEQ_LT(tp->snd_una, th_ack) && !TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack() 585 left_edge_delta = th_ack - tp->snd_una; in tcp_sack_doack() 587 sack_blocks[num_sack_blks++].end = th_ack; in tcp_sack_doack() 592 if (SEQ_LT(tp->snd_fack, th_ack)) { in tcp_sack_doack() 593 delivered_data += th_ack - tp->snd_una; in tcp_sack_doack() 594 tp->snd_fack = th_ack; in tcp_sack_doack() 610 SEQ_GT(sack.start, th_ack) && in tcp_sack_doack() 617 } else if (SEQ_LEQ(sack.start, th_ack) && in tcp_sack_doack() 618 SEQ_LEQ(sack.end, th_ack)) { in tcp_sack_doack() [all …]
|
H A D | tcp_timewait.c | 247 (tcp_seq)0, th->th_ack, TH_RST); in tcp_twcheck() 293 th->th_seq != tp->rcv_nxt || th->th_ack != tp->snd_nxt) { in tcp_twcheck()
|
H A D | tcpip.h | 50 #define ti_ack ti_t.th_ack
|
H A D | tcp_lro.c | 731 pa->tcp->th_ack = le->ack_seq; in tcp_lro_update_checksum() 892 le->ack_seq = th->th_ack; in tcp_set_entry_to_mbuf() 1069 le->ack_seq == th->th_ack && in tcp_lro_condense() 1076 SEQ_GT(ntohl(th->th_ack), ntohl(le->ack_seq))) { in tcp_lro_condense() 1078 le->ack_seq = th->th_ack; in tcp_lro_condense() 1081 } else if (th->th_ack == le->ack_seq) { in tcp_lro_condense() 1390 SEQ_LT(ntohl(th->th_ack), ntohl(le->ack_seq))) { in tcp_lro_rx_common()
|
H A D | tcp_var.h | 823 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una) 1541 tcp_req_find_a_req_that_is_completed_by(struct tcpcb *tp, tcp_seq th_ack, int *ip); 1582 th->th_ack = ntohl(th->th_ack); in tcp_fields_to_host() 1592 th->th_ack = htonl(th->th_ack); in tcp_fields_to_net()
|
H A D | tcp_lro_hpts.c | 84 ae->ack = th->th_ack; in build_ack_entry() 158 uint32_t th_ack, uint16_t th_win) in tcp_lro_log() argument 181 log.u_bbr.delivered = th_ack; in tcp_lro_log()
|
/freebsd/sys/net/ |
H A D | slcompress.c | 291 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp() 527 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp_core() 546 DECODEL(th->th_ack) in sl_uncompress_tcp_core()
|
/freebsd/usr.sbin/ppp/ |
H A D | slcompress.c | 304 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp() 513 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp() 532 DECODEL(th->th_ack) in sl_uncompress_tcp()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | tcp.h | 42 uint32_t th_ack; /* (u) */ member
|
/freebsd/sbin/ipf/ipsend/ |
H A D | iptests.c | 913 t->th_ack = 0; in ip_test5() 986 t->th_ack = 0; in ip_test5() 992 t->th_ack = htonl(1); in ip_test5() 998 t->th_ack = htonl(0x7fffffff); in ip_test5() 1004 t->th_ack = htonl(0x80000000); in ip_test5() 1010 t->th_ack = htonl(0xc0000000); in ip_test5() 1016 t->th_ack = htonl(0xffffffff); in ip_test5() 1138 t->th_ack = htonl(1); in ip_test5()
|
H A D | resend.c | 52 (u_long)t->th_seq, (u_long)t->th_ack); in dumppacket()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_syncookies.c | 319 ack = ntohl(pd->hdr.tcp.th_ack) - 1; in pf_syncookie_check() 343 ack = ntohl(pd->hdr.tcp.th_ack) - 1; in pf_syncookie_validate() 508 ack = ntohl(pd->hdr.tcp.th_ack) - 1; in pf_syncookie_recreate_syn()
|
/freebsd/contrib/tcpdump/ |
H A D | tcp.h | 44 nd_uint32_t th_ack; /* acknowledgement number */ member
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_fil_freebsd.c | 360 tcp2->th_seq = tcp->th_ack; in ipf_send_reset() 362 tcp2->th_ack = 0; in ipf_send_reset() 365 tcp2->th_ack = ntohl(tcp->th_seq); in ipf_send_reset() 366 tcp2->th_ack += tlen; in ipf_send_reset() 367 tcp2->th_ack = htonl(tcp2->th_ack); in ipf_send_reset()
|
H A D | ip_proxy.c | 1172 seq1 = ntohl(tcp->th_ack); in ipf_proxy_fixseqack() 1187 tcp->th_ack = htonl(seq1 - seq2); in ipf_proxy_fixseqack() 1225 seq1 = ntohl(tcp->th_ack); in ipf_proxy_fixseqack() 1244 tcp->th_ack = htonl(seq1 - seq2); in ipf_proxy_fixseqack() 1252 (u_32_t)ntohl(tcp->th_seq), (u_32_t)ntohl(tcp->th_ack)); in ipf_proxy_fixseqack()
|
/freebsd/sys/netinet/khelp/ |
H A D | h_ertt.c | 217 acked = th->th_ack - tp->snd_una; in ertt_packet_measurement_hook() 227 ack = th->th_ack; in ertt_packet_measurement_hook()
|
/freebsd/sbin/ipf/libipf/ |
H A D | ipft_tx.c | 286 tcp->th_ack = htonl(atoi(*cpp + 4)); in parseline() 458 tcp->th_ack = htonl(atoi(*cpp + 4)); in parseipv6()
|
/freebsd/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;
|