HomeSort by: relevance | last modified time | path
    Searched refs:th_ack (Results 1 - 25 of 25) sorted by relevancy

  /src/sys/netinet/
tcp_congctl.c 493 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 - tp->snd_una
    [all...]
tcp_sack.c 258 if (!TCP_SACK_ENABLED(tp) || ((th->th_flags & TH_ACK) == 0) ||
271 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;
tcp_input.c 309 SEQ_GT(th->th_ack, tp->t_pmtud_th_seq))
328 NTOHL(th->th_ack);
341 HTONL(th->th_ack);
1123 if ((tiflags & TH_ACK) == 0) {
1158 (void)tcp_respond(0, m, m, th, th->th_seq + tlen, th->th_ack, TH_ACK);
1169 if (tiflags & TH_ACK) {
1170 tcp_respond(0, m, m, th, (tcp_seq)0, th->th_ack, TH_RST);
1175 TH_RST|TH_ACK);
1407 (tiflags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN)
    [all...]
tcp.h 53 tcp_seq th_ack; /* acknowledgement number */ member in struct:tcphdr
69 #define TH_ACK 0x10 /* Acknowledge: Part of connection establish */
tcp_debug.c 173 ack = th->th_ack;
tcp_syncache.c 575 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);
1167 th->th_flags = TH_SYN|TH_ACK;
tcp_var.h 183 #define ti_ack ti_t.th_ack
tcp_subr.c 581 n->th_ack = 0;
677 flags = TH_ACK;
769 th->th_ack = htonl(ack);
tcp_output.c 1082 ((flags & TH_ACK) == 0 ||
1108 ((flags & (TH_SYN|TH_ACK)) == TH_SYN ||
1366 th->th_ack = htonl(tp->rcv_nxt);
  /src/usr.sbin/npf/npftest/
npfstream.c 82 forw ? ">" : "<", (th->th_flags & (TH_SYN | TH_ACK | TH_FIN)),
83 packetno, error, (unsigned)seq, (unsigned)ntohl(th->th_ack),
  /src/sys/net/
slcompress.c 196 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK)
311 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack);
558 th->th_ack = htonl(ntohl(th->th_ack) + i);
577 DECODEL(th->th_ack)
  /src/usr.sbin/npf/npftest/libnpftest/
npf_state_test.c 25 #define A TH_ACK
127 th->th_ack = htonl(p->ack);
  /src/sys/dev/pci/cxgb/
cxgb_lro.c 278 th->th_ack = nth->th_ack;
  /src/sys/net/npf/
npf_sendpkt.c 174 th->th_ack = htonl(seq + tcpdlen);
176 th->th_flags = TH_ACK | TH_RST;
npf_inet.c 258 *ack = ntohl(th->th_ack);
  /src/sys/external/bsd/ipf/netinet/
ip_proxy.c 1201 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));
ip_fil_netbsd.c 790 if (tcp->th_flags & TH_ACK) {
791 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);
799 tcp2->th_flags = TH_RST|TH_ACK;
ip_pptp_pxy.c 526 pptp->pptp_side[1 - rev].pptps_next = ntohl(tcp->th_ack);
527 pptp->pptp_side[1 - rev].pptps_nexthdr = ntohl(tcp->th_ack);
ip_state.c 1585 if ((tcp->th_flags & ~(TH_FIN|TH_ACK|TH_ECNALL)) ==
1602 is->is_dend = ntohl(tcp->th_ack);
1603 is->is_maxdend = ntohl(tcp->th_ack);
2034 if (flags == (TH_SYN|TH_ACK)) {
2035 is->is_s0[source] = ntohl(tcp->th_ack);
2130 ack = ntohl(tcp->th_ack);
2174 if (!(tcpflags & TH_ACK)) { /* Pretend an ack was sent */
2176 } else if (((tcpflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) &&
2221 } else if ((seq == 0) && (tcpflags == (TH_RST|TH_ACK)) &
    [all...]
ip_ftp_pxy.c 1246 thack = ntohl(tcp->th_ack);
fil.c 1389 ((flags & (TH_RST|TH_ACK)) == TH_RST)) {
1390 /* TH_FIN|TH_RST|TH_ACK seems to appear "naturally" */
1403 } else if (!(flags & TH_ACK)) {
1411 if ((flags == TH_SYN) && (tcp->th_ack != 0)) {
  /src/usr.sbin/trpt/
trpt.c 453 ack = th->th_ack;
486 pf(TH_ACK, "ACK");
  /src/sys/dist/pf/net/
pf.c 1077 TH_RST|TH_ACK, 0, 0, 0, 1, cur->tag, NULL, NULL);
1311 if (f & TH_ACK)
1776 th->th_ack = htonl(ack);
3459 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0,
3543 if ((th->th_flags & (TH_SYN|TH_ACK)) ==
3700 (th->th_flags & (TH_SYN|TH_ACK)) == TH_SYN &&
3724 TH_SYN|TH_ACK, 0, s->src.mss, 0, 1, 0, NULL, NULL);
3866 TH_SYN|TH_ACK, 0, (*state)->src.mss, 0, 1,
3870 } else if (!(th->th_flags & TH_ACK) ||
    [all...]
pf_norm.c 1338 if (!(flags & (TH_ACK|TH_RST)))
1342 if (!(flags & TH_ACK)) {
1356 ov = *(u_int16_t *)(&th->th_ack + 1);
1359 nv = *(u_int16_t *)(&th->th_ack + 1);
  /src/sys/kern/
uipc_mbufdebug.c 831 (*pr)("TCP: Ack. = %u\n", ntohl(tcp.th_ack));

Completed in 50 milliseconds