Searched refs:th_ack (Results 1 - 25 of 35) sorted by relevance

12

/netbsd-current/sys/netinet/
H A Dtcp_congctl.c493 tp->snd_nxt = th->th_ack;
583 if (TCP_SACK_ENABLED(tp) && SEQ_GT(th->th_ack, tp->snd_fack))
584 tp->snd_fack = th->th_ack;
604 int acked = th->th_ack - tp->snd_una;
660 if (SEQ_LT(th->th_ack, tp->snd_high)) {
687 } else if (SEQ_LT(th->th_ack, tp->snd_recover)) {
723 if (((th->th_ack - tp->snd_una) / tp->t_segsz) > 2)
732 tp->snd_nxt = th->th_ack;
737 tp->snd_cwnd = tp->t_segsz + (th->th_ack - tp->snd_una);
746 tp->snd_cwnd -= (th->th_ack
[all...]
H A Dtcp_sack.c271 if (SEQ_LT(th->th_ack, tp->snd_una) || SEQ_GT(th->th_ack, tp->snd_max))
281 acked = (SEQ_GT(th->th_ack, tp->snd_una)) ? th->th_ack : tp->snd_una;
319 cur = sack_inserthole(tp, th->th_ack, sack->left, NULL);
406 tcp_seq lastack = SEQ_GT(th->th_ack, tp->snd_una) ?
407 th->th_ack : tp->snd_una;
H A Dtcp_input.c307 SEQ_GT(th->th_ack, tp->t_pmtud_th_seq))
326 NTOHL(th->th_ack);
339 HTONL(th->th_ack);
1149 (void)tcp_respond(0, m, m, th, th->th_seq + tlen, th->th_ack, TH_ACK);
1161 tcp_respond(0, m, m, th, (tcp_seq)0, th->th_ack, TH_RST);
1829 if (SEQ_GT(th->th_ack, tp->snd_una) &&
1830 SEQ_LEQ(th->th_ack, tp->snd_max) &&
1839 SEQ_GT(th->th_ack, tp->t_rtseq))
1842 acked = th->th_ack - tp->snd_una;
1858 tp->snd_una = th->th_ack;
[all...]
H A Dtcp.h52 tcp_seq th_ack; /* acknowledgement number */ member in struct:tcphdr
H A Dtcp_debug.c173 ack = th->th_ack;
H A Dtcp_syncache.c575 if ((th->th_ack != sc->sc_iss + 1) ||
782 (void)tcp_respond(NULL, m, m, th, (tcp_seq)0, th->th_ack, TH_RST);
1166 th->th_ack = htonl(sc->sc_irs + 1);
H A Dtcp_var.h183 #define ti_ack ti_t.th_ack
/netbsd-current/external/bsd/ipf/bin/ipsend/
H A Dtcpip.h78 #define ti_ack ti_t.th_ack
/netbsd-current/external/bsd/tcpdump/dist/
H A Dtcp.h40 nd_uint32_t th_ack; /* acknowledgement number */ member in struct:tcphdr
/netbsd-current/usr.sbin/npf/npftest/
H A Dnpfstream.c83 packetno, error, (unsigned)seq, (unsigned)ntohl(th->th_ack),
/netbsd-current/sys/net/
H A Dslcompress.c311 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack);
558 th->th_ack = htonl(ntohl(th->th_ack) + i);
577 DECODEL(th->th_ack)
/netbsd-current/external/bsd/ipf/dist/ipsd/Celler/
H A Dip_compat.h137 __u32 th_ack; member in struct:__anon1792
/netbsd-current/external/bsd/ipf/dist/ipsend/
H A Dresend.c62 (u_long)t->th_seq, (u_long)t->th_ack);
H A Diptests.c967 t->th_ack = 0;
1041 t->th_ack = 0;
1047 t->th_ack = htonl(1);
1053 t->th_ack = htonl(0x7fffffff);
1059 t->th_ack = htonl(0x80000000);
1065 t->th_ack = htonl(0xc0000000);
1071 t->th_ack = htonl(0xffffffff);
1193 t->th_ack = htonl(1);
/netbsd-current/usr.sbin/npf/npftest/libnpftest/
H A Dnpf_state_test.c127 th->th_ack = htonl(p->ack);
/netbsd-current/sys/dev/pci/cxgb/
H A Dcxgb_lro.c278 th->th_ack = nth->th_ack;
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dipft_tx.c295 tcp->th_ack = htonl(atoi(*cpp + 4));
469 tcp->th_ack = htonl(atoi(*cpp + 4));
/netbsd-current/sys/net/npf/
H A Dnpf_sendpkt.c174 th->th_ack = htonl(seq + tcpdlen);
/netbsd-current/sys/external/bsd/ipf/netinet/
H A Dip_proxy.c1201 seq1 = ntohl(tcp->th_ack);
1216 tcp->th_ack = htonl(seq1 - seq2);
1254 seq1 = ntohl(tcp->th_ack);
1273 tcp->th_ack = htonl(seq1 - seq2);
1281 (u_32_t)ntohl(tcp->th_seq), (u_32_t)ntohl(tcp->th_ack));
H A Dip_fil_netbsd.c791 tcp2->th_seq = tcp->th_ack;
793 tcp2->th_ack = 0;
796 tcp2->th_ack = ntohl(tcp->th_seq);
797 tcp2->th_ack += tlen;
798 tcp2->th_ack = htonl(tcp2->th_ack);
H A Dip_pptp_pxy.c526 pptp->pptp_side[1 - rev].pptps_next = ntohl(tcp->th_ack);
527 pptp->pptp_side[1 - rev].pptps_nexthdr = ntohl(tcp->th_ack);
H A Dip_state.c1602 is->is_dend = ntohl(tcp->th_ack);
1603 is->is_maxdend = ntohl(tcp->th_ack);
2035 is->is_s0[source] = ntohl(tcp->th_ack);
2130 ack = ntohl(tcp->th_ack);
2565 is->is_send = ntohl(tcp->th_ack);
2571 is->is_dend = ntohl(tcp->th_ack);
3454 ack = ntohl(tcp->th_ack);
3456 tcp->th_ack = htonl(ack);
3462 ack = ntohl(tcp->th_ack);
3464 tcp->th_ack
[all...]
/netbsd-current/external/bsd/ipf/dist/
H A Dip_pptp_pxy.c543 pptp->pptp_side[1 - rev].pptps_next = ntohl(tcp->th_ack);
544 pptp->pptp_side[1 - rev].pptps_nexthdr = ntohl(tcp->th_ack);
/netbsd-current/usr.sbin/trpt/
H A Dtrpt.c453 ack = th->th_ack;
/netbsd-current/sys/dist/pf/net/
H A Dpf.c1776 th->th_ack = htonl(ack);
3459 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0,
3871 (ntohl(th->th_ack) != (*state)->src.seqhi + 1) ||
3894 (ntohl(th->th_ack) != (*state)->src.seqhi + 1) ||
3910 (ntohl(th->th_ack) != (*state)->dst.seqhi + 1)) {
3918 ntohl(th->th_ack), ntohl(th->th_seq) + 1,
3970 ack = ntohl(th->th_ack) - dst->seqdiff;
3973 pf_change_a(&th->th_ack, &th->th_sum, htonl(ack), 0);
3976 ack = ntohl(th->th_ack);
4020 ack = ntohl(th->th_ack)
[all...]

Completed in 196 milliseconds

12