| /freebsd-12.1/sys/netinet/tcp_stacks/ |
| H A D | sack_filter.c | 121 sf->sf_blks[i].start = th_ack; in sack_filter_prune() 130 sf->sf_ack = th_ack; in sack_filter_prune() 485 sf->sf_ack = th_ack; in sack_filter_blks() 501 if (SEQ_GT(th_ack, sf->sf_ack)) { in sack_filter_blks() 502 sack_filter_prune(sf, th_ack); in sack_filter_blks() 505 if (SEQ_GEQ(th_ack, sf->sf_ack)) { in sack_filter_blks() 551 tcp_seq th_ack, snd_una; in main() local 649 th_ack = strtoul(&buffer[4], NULL, 0); in main() 651 snd_una = th_ack; in main() 653 } else if (SEQ_GT(th_ack, snd_una)) { in main() [all …]
|
| H A D | rack.c | 4187 register uint32_t th_ack; in rack_log_ack() local 4200 th_ack = th->th_ack; in rack_log_ack() 4310 rsm->r_start = th_ack; in rack_log_ack() 4344 ack_point = th_ack; in rack_log_ack() 4488 snd_una = th_ack; in rack_log_ack() 4672 tp->snd_una = th->th_ack; in rack_process_ack() 4739 tp->snd_wl2 = th->th_ack; in rack_process_data() 4747 tp->snd_wl2 = th->th_ack; in rack_process_data() 5234 tp->snd_una = th->th_ack; in rack_fastack() 5238 tp->snd_wl2 = th->th_ack; in rack_fastack() [all …]
|
| H A D | sack_filter.h | 53 int sack_filter_blks(struct sack_filter *sf, struct sackblk *in, int numblks, tcp_seq th_ack);
|
| H A D | tcp_rack.h | 95 uint32_t th_ack; member
|
| /freebsd-12.1/sys/netinet/ |
| H A D | tcp_input.c | 326 tp->ccv->curack = th->th_ack; in cc_ack_received() 467 tp->ccv->curack = th->th_ack; in cc_post_recovery() 1578 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment() 1825 tp->snd_una = th->th_ack; in tcp_do_segment() 1830 tp->snd_wl2 = th->th_ack; in tcp_do_segment() 2019 tp->snd_nxt = th->th_ack; in tcp_do_segment() 2607 if (SEQ_LEQ(th->th_ack, in tcp_do_segment() 2852 tp->snd_una = th->th_ack; in tcp_do_segment() 2939 tp->snd_wl2 = th->th_ack; in tcp_do_segment() 3302 th->th_ack, TH_RST); in tcp_dropwithreset() [all …]
|
| H A D | tcp_lro.c | 372 th->th_ack = le->ack_seq; in tcp_lro_flush() 799 le->ack_seq == th->th_ack && in tcp_lro_rx2() 817 if (tcp_data_len || SEQ_GT(ntohl(th->th_ack), ntohl(le->ack_seq))) { in tcp_lro_rx2() 819 le->ack_seq = th->th_ack; in tcp_lro_rx2() 822 } else if (th->th_ack == le->ack_seq) { in tcp_lro_rx2() 918 le->ack_seq = th->th_ack; in tcp_lro_rx2()
|
| H A D | tcp_sack.c | 547 tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack) in tcp_sack_doack() argument 561 if (SEQ_LT(tp->snd_una, th_ack) && !TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack() 563 sack_blocks[num_sack_blks++].end = th_ack; in tcp_sack_doack() 578 SEQ_GT(sack.start, th_ack) && in tcp_sack_doack() 617 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack()
|
| H A D | tcp_var.h | 358 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una) 959 th->th_ack = ntohl(th->th_ack); in tcp_fields_to_host() 969 th->th_ack = htonl(th->th_ack); in tcp_fields_to_net()
|
| H A D | tcpip.h | 53 #define ti_ack ti_t.th_ack
|
| H A D | tcp_debug.c | 175 ack = th->th_ack; in tcp_trace()
|
| H A D | tcp.h | 56 tcp_seq th_ack; /* acknowledgement number */ member
|
| H A D | tcp_timewait.c | 460 th->th_seq != tw->rcv_nxt || th->th_ack != tw->snd_nxt) { in tcp_twcheck() 601 th->th_ack = htonl(tw->rcv_nxt); in tcp_twrespond()
|
| /freebsd-12.1/sys/net/ |
| H A D | slcompress.c | 295 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp() 534 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp_core() 553 DECODEL(th->th_ack) in sl_uncompress_tcp_core()
|
| /freebsd-12.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-12.1/contrib/ipfilter/ipsend/ |
| H A D | iptests.c | 942 t->th_ack = 0; 1016 t->th_ack = 0; 1022 t->th_ack = htonl(1); 1028 t->th_ack = htonl(0x7fffffff); 1034 t->th_ack = htonl(0x80000000); 1040 t->th_ack = htonl(0xc0000000); 1046 t->th_ack = htonl(0xffffffff); 1168 t->th_ack = htonl(1);
|
| H A D | resend.c | 57 (u_long)t->th_seq, (u_long)t->th_ack);
|
| /freebsd-12.1/contrib/tcpdump/ |
| H A D | tcp.h | 45 tcp_seq th_ack; /* acknowledgement number */ member
|
| /freebsd-12.1/sys/contrib/ipfilter/netinet/ |
| H A D | ip_fil_freebsd.c | 411 tcp2->th_seq = tcp->th_ack; 413 tcp2->th_ack = 0; 416 tcp2->th_ack = ntohl(tcp->th_seq); 417 tcp2->th_ack += tlen; 418 tcp2->th_ack = htonl(tcp2->th_ack);
|
| H A D | ip_proxy.c | 1217 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 D | ip_pptp_pxy.c | 541 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 D | ip_state.c | 1632 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);
|
| /freebsd-12.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-12.1/contrib/ipfilter/lib/ |
| H A D | ipft_tx.c | 297 tcp->th_ack = htonl(atoi(*cpp + 4)); 471 tcp->th_ack = htonl(atoi(*cpp + 4));
|
| /freebsd-12.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-12.1/sys/netinet/libalias/ |
| H A D | alias.c | 1036 delta = GetDeltaAckIn(tc->th_ack, lnk); in TcpAliasIn() 1038 accumulate += twowords(&tc->th_ack); in TcpAliasIn() 1039 tc->th_ack = htonl(ntohl(tc->th_ack) - delta); in TcpAliasIn() 1040 accumulate -= twowords(&tc->th_ack); in TcpAliasIn()
|