Home
last modified time | relevance | path

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

12

/f-stack/freebsd/netinet/tcp_stacks/
H A Dsack_filter.c126 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 Dsack_filter.h54 tcp_seq th_ack);
H A Drack.c3808 tp->gput_seq = th_ack; in rack_do_goodput_measurement()
6841 tcp_seq th_ack, in rack_need_set_test() argument
6911 tp->gput_seq = th_ack; in rack_need_set_test()
7462 register uint32_t th_ack; in rack_log_ack() local
7477 th_ack = th->th_ack; in rack_log_ack()
7629 rsm->r_start = th_ack; in rack_log_ack()
7659 ack_point = th_ack; in rack_log_ack()
8020 snd_una = th_ack; in rack_log_ack()
8365 tp->snd_una = th->th_ack; in rack_process_ack()
9104 tp->snd_una = th->th_ack; in rack_fastack()
[all …]
H A Dbbr.c2169 log.u_bbr.flex5 = th_ack; in bbr_log_type_cwndupd()
7397 register uint32_t th_ack; in bbr_log_ack() local
7414 th_ack = th->th_ack; in bbr_log_ack()
7484 th_ack, tp->t_state, in bbr_log_ack()
7573 lrsm.r_end = th_ack; in bbr_log_ack()
7589 rsm->r_start = th_ack; in bbr_log_ack()
7620 ack_point = th_ack; in bbr_log_ack()
7890 tp->snd_una = th->th_ack; in bbr_process_ack()
8776 tp->snd_una = th->th_ack; in bbr_fastack()
8790 tp->snd_wl2 = th->th_ack; in bbr_fastack()
[all …]
H A Drack_bbr_common.c634 (SEQ_GT(tp->snd_una, th->th_ack) || in ctf_do_dropafterack()
635 SEQ_GT(th->th_ack, tp->snd_max))) { in ctf_do_dropafterack()
H A Dtcp_rack.h108 uint32_t th_ack; member
/f-stack/freebsd/netinet/
H A Dtcp_input.c375 tp->ccv->curack = th->th_ack; in cc_ack_received()
508 tp->ccv->curack = th->th_ack; in cc_post_recovery()
1556 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment()
1837 tp->snd_una = th->th_ack; in tcp_do_segment()
1842 tp->snd_wl2 = th->th_ack; in tcp_do_segment()
2039 tp->snd_nxt = th->th_ack; in tcp_do_segment()
2664 if (SEQ_LEQ(th->th_ack, in tcp_do_segment()
2938 tp->snd_una = th->th_ack; in tcp_do_segment()
3022 tp->snd_wl2 = th->th_ack; in tcp_do_segment()
3398 th->th_ack, TH_RST); in tcp_dropwithreset()
[all …]
H A Dtcp_lro.c465 log.u_bbr.delivered = th_ack; in tcp_lro_log()
537 th->th_ack = le->ack_seq; in tcp_flush_out_le()
641 le->ack_seq = th->th_ack; in tcp_set_le_to_m()
794 le->ack_seq == th->th_ack && in tcp_lro_condense()
800 th->th_ack, in tcp_lro_condense()
808 le->ack_seq = th->th_ack; in tcp_lro_condense()
810 } else if (th->th_ack == le->ack_seq) { in tcp_lro_condense()
821 th->th_ack, in tcp_lro_condense()
839 th->th_ack, in tcp_lro_condense()
1308 (th->th_ack == le->ack_seq)) { in tcp_lro_rx2()
[all …]
H A Dtcp_sack.c540 tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack) in tcp_sack_doack() argument
558 if (SEQ_LT(tp->snd_una, th_ack) && !TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack()
559 left_edge_delta = th_ack - tp->snd_una; in tcp_sack_doack()
561 sack_blocks[num_sack_blks++].end = th_ack; in tcp_sack_doack()
575 SEQ_GT(sack.start, th_ack) && in tcp_sack_doack()
612 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack()
H A Dtcpip.h53 #define ti_ack ti_t.th_ack
H A Dtcp_var.h422 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una)
1080 th->th_ack = ntohl(th->th_ack); in tcp_fields_to_host()
1090 th->th_ack = htonl(th->th_ack); in tcp_fields_to_net()
H A Dtcp_debug.c175 ack = th->th_ack; in tcp_trace()
H A Dtcp.h56 tcp_seq th_ack; /* acknowledgement number */ member
H A Dtcp_timewait.c475 th->th_seq != tw->rcv_nxt || th->th_ack != tw->snd_nxt) { in tcp_twcheck()
616 th->th_ack = htonl(tw->rcv_nxt); in tcp_twrespond()
H A Dtcp_syncache.c1358 if (th->th_ack != sc->sc_iss + 1) { in syncache_expand()
1361 "rejected\n", s, __func__, th->th_ack, sc->sc_iss); in syncache_expand()
1958 th->th_ack = htonl(sc->sc_irs + 1); in syncache_respond()
2307 ack = th->th_ack - 1; in syncookie_lookup()
/f-stack/freebsd/net/
H A Dslcompress.c294 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()
/f-stack/tools/compat/include/netinet/
H A Dtcpip.h53 #define ti_ack ti_t.th_ack
H A Dtcp_var.h422 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una)
1080 th->th_ack = ntohl(th->th_ack); in tcp_fields_to_host()
1090 th->th_ack = htonl(th->th_ack); in tcp_fields_to_net()
H A Dtcp.h56 tcp_seq th_ack; /* acknowledgement number */ member
/f-stack/freebsd/netinet/khelp/
H A Dh_ertt.c220 acked = th->th_ack - tp->snd_una; in ertt_packet_measurement_hook()
230 ack = th->th_ack; in ertt_packet_measurement_hook()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c401 tcp2->th_seq = tcp->th_ack;
403 tcp2->th_ack = 0;
406 tcp2->th_ack = ntohl(tcp->th_seq);
407 tcp2->th_ack += tlen;
408 tcp2->th_ack = htonl(tcp2->th_ack);
H A Dip_proxy.c1217 seq1 = ntohl(tcp->th_ack);
1232 tcp->th_ack = htonl(seq1 - seq2);
1270 seq1 = ntohl(tcp->th_ack);
1289 tcp->th_ack = htonl(seq1 - seq2);
1297 (u_32_t)ntohl(tcp->th_seq), (u_32_t)ntohl(tcp->th_ack));
H A Dip_pptp_pxy.c541 pptp->pptp_side[1 - rev].pptps_next = ntohl(tcp->th_ack);
542 pptp->pptp_side[1 - rev].pptps_nexthdr = ntohl(tcp->th_ack);
H A Dip_state.c1632 is->is_dend = ntohl(tcp->th_ack);
1633 is->is_maxdend = ntohl(tcp->th_ack);
2072 is->is_s0[source] = ntohl(tcp->th_ack);
2176 ack = ntohl(tcp->th_ack);
2618 is->is_send = ntohl(tcp->th_ack);
2624 is->is_dend = ntohl(tcp->th_ack);
3524 ack = ntohl(tcp->th_ack);
3526 tcp->th_ack = htonl(ack);
3532 ack = ntohl(tcp->th_ack);
3534 tcp->th_ack = htonl(ack);
/f-stack/freebsd/netinet/libalias/
H A Dalias.c1025 delta = GetDeltaAckIn(tc->th_ack, lnk); in TcpAliasIn()
1027 accumulate += twowords(&tc->th_ack); in TcpAliasIn()
1028 tc->th_ack = htonl(ntohl(tc->th_ack) - delta); in TcpAliasIn()
1029 accumulate -= twowords(&tc->th_ack); in TcpAliasIn()

12