Home
last modified time | relevance | path

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

123

/freebsd-14.2/sys/netinet/tcp_stacks/
H A Dsack_filter.c127 sf->sf_blks[i].start = th_ack; in sack_filter_prune()
136 sf->sf_ack = th_ack; in sack_filter_prune()
501 tcp_seq th_ack) in sack_filter_blks() argument
529 sf->sf_ack = th_ack; in sack_filter_blks()
547 if (SEQ_GT(th_ack, sf->sf_ack)) { in sack_filter_blks()
548 sack_filter_prune(sf, th_ack); in sack_filter_blks()
551 if (SEQ_GEQ(th_ack, sf->sf_ack)) { in sack_filter_blks()
628 tcp_seq th_ack, snd_una, snd_max = 0; in main() local
732 snd_una = th_ack; in main()
734 } else if (SEQ_GT(th_ack, snd_una)) { in main()
[all …]
H A Dtailq_hash.c306 tqhash_trim(struct tailq_hash *hs, uint32_t th_ack) in tqhash_trim() argument
310 if (SEQ_LT(th_ack, hs->min)) { in tqhash_trim()
314 if (SEQ_GEQ(th_ack, hs->max)) { in tqhash_trim()
323 if (SEQ_GEQ(th_ack, rsm->r_end)) { in tqhash_trim()
330 if (SEQ_GT(th_ack, hs->min)) in tqhash_trim()
331 hs->min = th_ack; in tqhash_trim()
336 if (SEQ_GT(th_ack, rsm->r_start)) { in tqhash_trim()
337 rsm->r_start = th_ack; in tqhash_trim()
H A Dsack_filter.h52 tcp_seq th_ack);
H A Drack.c5228 tp->gput_seq = th_ack; in rack_do_goodput_measurement()
9241 tcp_seq th_ack, in rack_need_set_test() argument
9310 tp->gput_seq = th_ack; in rack_need_set_test()
11095 snd_una = th_ack; in rack_update_prr()
11144 register uint32_t th_ack; in rack_log_ack() local
11161 th_ack = th->th_ack; in rack_log_ack()
11210 ack_point = th_ack; in rack_log_ack()
12370 tp->snd_una = th->th_ack; in rack_process_ack()
15830 th->th_ack = ae->ack; in rack_log_input_packet()
16843 high_seq = th->th_ack; in rack_do_segment_nounlock()
[all …]
H A Dtailq_hash.h54 tqhash_trim(struct tailq_hash *hs, uint32_t th_ack);
H A Dbbr.c2157 log.u_bbr.flex5 = th_ack; in bbr_log_type_cwndupd()
7297 register uint32_t th_ack; in bbr_log_ack() local
7314 th_ack = th->th_ack; in bbr_log_ack()
7384 th_ack, tp->t_state, in bbr_log_ack()
7473 lrsm.r_end = th_ack; in bbr_log_ack()
7489 rsm->r_start = th_ack; in bbr_log_ack()
7520 ack_point = th_ack; in bbr_log_ack()
7825 tp->snd_una = th->th_ack; in bbr_process_ack()
8691 tp->snd_una = th->th_ack; in bbr_fastack()
8705 tp->snd_wl2 = th->th_ack; in bbr_fastack()
[all …]
/freebsd-14.2/sys/netinet/
H A Dtcp_sack.c572 left_edge_delta = th_ack - tp->snd_una; in tcp_sack_doack()
574 sack_blocks[num_sack_blks++].end = th_ack; in tcp_sack_doack()
579 if (SEQ_LT(tp->snd_fack, th_ack)) { in tcp_sack_doack()
580 delivered_data += th_ack - tp->snd_una; in tcp_sack_doack()
581 tp->snd_fack = th_ack; in tcp_sack_doack()
597 SEQ_GT(sack.start, th_ack) && in tcp_sack_doack()
602 } else if (SEQ_LEQ(sack.start, th_ack) && in tcp_sack_doack()
603 SEQ_LEQ(sack.end, th_ack)) { in tcp_sack_doack()
640 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack()
887 SEQ_LT(th->th_ack, tp->snd_recover) && in tcp_sack_partialack()
[all …]
H A Dtcp_input.c357 tp->t_ccv.curack = th->th_ack; in cc_ack_received()
487 tp->t_ccv.curack = th->th_ack; in cc_post_recovery()
1572 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment()
1839 tp->snd_una = th->th_ack; in tcp_do_segment()
1844 tp->snd_wl2 = th->th_ack; in tcp_do_segment()
2055 tp->snd_nxt = th->th_ack; in tcp_do_segment()
2692 if (SEQ_LEQ(th->th_ack, in tcp_do_segment()
3022 tp->snd_una = th->th_ack; in tcp_do_segment()
3106 tp->snd_wl2 = th->th_ack; in tcp_do_segment()
3495 th->th_ack, TH_RST); in tcp_dropwithreset()
[all …]
H A Dtcp_timewait.c248 (tcp_seq)0, th->th_ack, TH_RST); in tcp_twcheck()
294 th->th_seq != tp->rcv_nxt || th->th_ack != tp->snd_nxt) { in tcp_twcheck()
H A Dtcpip.h52 #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.h836 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una)
1546 tcp_req_find_a_req_that_is_completed_by(struct tcpcb *tp, tcp_seq th_ack, int *ip);
1587 th->th_ack = ntohl(th->th_ack); in tcp_fields_to_host()
1597 th->th_ack = htonl(th->th_ack); in tcp_fields_to_net()
H A Dtcp_lro_hpts.c81 ae->ack = th->th_ack; in build_ack_entry()
154 uint32_t th_ack, uint16_t th_win) in tcp_lro_log() argument
177 log.u_bbr.delivered = th_ack; in tcp_lro_log()
/freebsd-14.2/sys/net/
H A Dslcompress.c293 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp()
529 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp_core()
548 DECODEL(th->th_ack) in sl_uncompress_tcp_core()
/freebsd-14.2/usr.sbin/ppp/
H A Dslcompress.c306 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp()
515 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp()
534 DECODEL(th->th_ack) in sl_uncompress_tcp()
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dtcp.h42 uint32_t th_ack; /* (u) */ member
/freebsd-14.2/sbin/ipf/ipsend/
H A Diptests.c918 t->th_ack = 0; in ip_test5()
992 t->th_ack = 0; in ip_test5()
998 t->th_ack = htonl(1); in ip_test5()
1004 t->th_ack = htonl(0x7fffffff); in ip_test5()
1010 t->th_ack = htonl(0x80000000); in ip_test5()
1016 t->th_ack = htonl(0xc0000000); in ip_test5()
1022 t->th_ack = htonl(0xffffffff); in ip_test5()
1144 t->th_ack = htonl(1); in ip_test5()
H A Dresend.c56 (u_long)t->th_seq, (u_long)t->th_ack); in dumppacket()
/freebsd-14.2/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()
509 ack = ntohl(pd->hdr.tcp.th_ack) - 1; in pf_syncookie_recreate_syn()
/freebsd-14.2/contrib/tcpdump/
H A Dtcp.h44 nd_uint32_t th_ack; /* acknowledgement number */ member
/freebsd-14.2/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c387 tcp2->th_seq = tcp->th_ack; in ipf_send_reset()
389 tcp2->th_ack = 0; in ipf_send_reset()
392 tcp2->th_ack = ntohl(tcp->th_seq); in ipf_send_reset()
393 tcp2->th_ack += tlen; in ipf_send_reset()
394 tcp2->th_ack = htonl(tcp2->th_ack); in ipf_send_reset()
H A Dip_proxy.c1175 seq1 = ntohl(tcp->th_ack); in ipf_proxy_fixseqack()
1190 tcp->th_ack = htonl(seq1 - seq2); in ipf_proxy_fixseqack()
1228 seq1 = ntohl(tcp->th_ack); in ipf_proxy_fixseqack()
1247 tcp->th_ack = htonl(seq1 - seq2); in ipf_proxy_fixseqack()
1255 (u_32_t)ntohl(tcp->th_seq), (u_32_t)ntohl(tcp->th_ack)); in ipf_proxy_fixseqack()
/freebsd-14.2/sys/netinet/khelp/
H A Dh_ertt.c218 acked = th->th_ack - tp->snd_una; in ertt_packet_measurement_hook()
228 ack = th->th_ack; in ertt_packet_measurement_hook()
/freebsd-14.2/sbin/ipf/libipf/
H A Dipft_tx.c289 tcp->th_ack = htonl(atoi(*cpp + 4)); in parseline()
460 tcp->th_ack = htonl(atoi(*cpp + 4)); in parseipv6()
/freebsd-14.2/cddl/lib/libdtrace/
H A Dtcp.d265 tcp_ack = p == NULL ? -1 : ntohl(p->th_ack);
284 tcp_ack = p == NULL ? -1 : p->th_ack;

123