Home
last modified time | relevance | path

Searched refs:th_ack (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/sys/netinet/tcp_stacks/
H A Dtailq_hash.c319 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 Dsack_filter.c128 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 Dtailq_hash.h56 tqhash_trim(struct tailq_hash *hs, uint32_t th_ack);
60 uint32_t th_ack);
H A Drack.c457 uint32_t th_ack, uint16_t nsegs, uint16_t type, int32_t recovery);
499 tcp_seq th_ack, int line, uint8_t quality);
545 struct rack_sendmap *rsm, struct tcpopt *to, uint32_t cts, int32_t ack_type, tcp_seq th_ack);
2811 int flag, uint32_t th_ack, int line) in rack_log_map_chg() argument
2840 log.u_bbr.pkts_out = th_ack; in rack_log_map_chg()
3618 rack_enough_for_measurement(struct tcpcb *tp, struct tcp_rack *rack, tcp_seq th_ack, uint8_t *quality) in rack_enough_for_measurement() argument
3625 if (SEQ_LT(th_ack, tp->gput_seq)) { in rack_enough_for_measurement()
3630 (th_ack == tp->snd_max)){ in rack_enough_for_measurement()
3644 if (SEQ_GEQ(th_ack, tp->gput_ack)) { in rack_enough_for_measurement()
3655 if (SEQ_LT(th_ack, t in rack_enough_for_measurement()
4910 rack_do_goodput_measurement(struct tcpcb * tp,struct tcp_rack * rack,tcp_seq th_ack,int line,uint8_t quality) rack_do_goodput_measurement() argument
5484 rack_ack_received(struct tcpcb * tp,struct tcp_rack * rack,uint32_t th_ack,uint16_t nsegs,uint16_t type,int32_t post_recovery) rack_ack_received() argument
5648 rack_post_recovery(struct tcpcb * tp,uint32_t th_ack) rack_post_recovery() argument
8869 rack_update_rtt(struct tcpcb * tp,struct tcp_rack * rack,struct rack_sendmap * rsm,struct tcpopt * to,uint32_t cts,int32_t ack_type,tcp_seq th_ack) rack_update_rtt() argument
9175 rack_need_set_test(struct tcpcb * tp,struct tcp_rack * rack,struct rack_sendmap * rsm,tcp_seq th_ack,int line,int use_which) rack_need_set_test() argument
10105 rack_peer_reneges(struct tcp_rack * rack,struct rack_sendmap * rsm,tcp_seq th_ack) rack_peer_reneges() argument
10232 rack_process_to_cumack(struct tcpcb * tp,struct tcp_rack * rack,register uint32_t th_ack,uint32_t cts,struct tcpopt * to,uint64_t acktime) rack_process_to_cumack() argument
10735 rack_update_prr(struct tcpcb * tp,struct tcp_rack * rack,uint32_t changed,tcp_seq th_ack) rack_update_prr() argument
10805 register uint32_t th_ack; rack_log_ack() local
11079 rack_strike_dupack(struct tcp_rack * rack,tcp_seq th_ack) rack_strike_dupack() argument
11685 rack_req_check_for_comp(struct tcp_rack * rack,tcp_seq th_ack) rack_req_check_for_comp() argument
12106 rack_collapsed_window(struct tcp_rack * rack,uint32_t out,tcp_seq th_ack,int line) rack_collapsed_window() argument
[all...]
H A Dsack_filter.h83 * 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 Dbbr.c2139 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 Dtcp_input.c319 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()
478 tp->t_ccv.curack = th->th_ack; in cc_cong_signal()
489 if (SEQ_LT(tp->snd_fack, th->th_ack) || in cc_post_recovery()
491 tp->snd_fack = th->th_ack; in cc_post_recovery()
493 tp->t_ccv.curack = th->th_ack; in cc_post_recovery()
1570 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment()
1603 tcp_packets_this_ack(tp, th->th_ack), in tcp_do_segment()
[all …]
H A Dtcp_sack.c559 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 Dtcp_timewait.c247 (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 Dtcpip.h50 #define ti_ack ti_t.th_ack
H A Dtcp_lro.c731 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 Dtcp_var.h824 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una)
1542 tcp_req_find_a_req_that_is_completed_by(struct tcpcb *tp, tcp_seq th_ack, int *ip);
1583 th->th_ack = ntohl(th->th_ack); in tcp_fields_to_host()
1593 th->th_ack = htonl(th->th_ack); in tcp_fields_to_net()
H A Dtcp_lro_hpts.c84 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 Dslcompress.c291 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 Dslcompress.c304 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 Dtcp.h42 uint32_t th_ack; /* (u) */ member
/freebsd/sbin/ipf/ipsend/
H A Diptests.c913 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 Dresend.c52 (u_long)t->th_seq, (u_long)t->th_ack); in dumppacket()
/freebsd/sys/netpfil/pf/
H A Dpf_syncookies.c319 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 Dtcp.h44 nd_uint32_t th_ack; /* acknowledgement number */ member
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c360 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 Dip_proxy.c1172 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 Dh_ertt.c217 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 Dipft_tx.c286 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 Dtcp.d267 tcp_ack = p == NULL ? -1 : ntohl(p->th_ack);
286 tcp_ack = p == NULL ? -1 : p->th_ack;

123