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

1 2

  /src/sys/netinet/
tcp_fsm.h 67 * Basic flags (TH_RST,TH_ACK,TH_SYN,TH_FIN) are totally
72 TH_RST|TH_ACK, /* CLOSED */
75 TH_SYN|TH_ACK, /* SYN_RCVD */
76 TH_ACK, /* ESTABLISHED */
77 TH_ACK, /* CLOSE_WAIT */
78 TH_FIN|TH_ACK, /* FIN_WAIT_1 */
79 TH_FIN|TH_ACK, /* CLOSING */
80 TH_FIN|TH_ACK, /* LAST_ACK */
81 TH_ACK, /* FIN_WAIT_2 */
82 TH_ACK, /* TIME_WAIT *
    [all...]
tcp.h 52 tcp_seq th_ack; /* acknowledgement number */ member in struct:tcphdr
68 #define TH_ACK 0x10 /* Acknowledge: Part of connection establish */
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_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_output.c 1082 ((flags & TH_ACK) == 0 ||
1108 ((flags & (TH_SYN|TH_ACK)) == TH_SYN ||
1366 th->th_ack = htonl(tp->rcv_nxt);
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_subr.c 581 n->th_ack = 0;
677 flags = TH_ACK;
769 th->th_ack = htonl(ack);
  /src/sys/net/npf/
npf_state_tcp.c 110 CTASSERT(TH_ACK == 0x10);
115 * TH_SYN | TH_ACK has number 6, since (0x02 | (0x10 >> 2)) == 6.
118 * and TH_FIN|TH_ACK cases. Thus, we generate a mask assigning 3
127 i = (tcpfl & (TH_SYN | TH_FIN)) | ((tcpfl & TH_ACK) >> 2);
382 if ((tcpfl & TH_ACK) == 0) {
385 } else if ((tcpfl & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST) && ack == 0) {
npf_sendpkt.c 174 th->th_ack = htonl(seq + tcpdlen);
176 th->th_flags = TH_ACK | TH_RST;
  /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/usr.sbin/npf/npftest/libnpftest/
npf_state_test.c 25 #define A TH_ACK
127 th->th_ack = htonl(p->ack);
  /src/sys/external/bsd/ipf/netinet/
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_compat.h 818 #define TCPF_ALL (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|\
1128 #ifndef TH_ACK
1129 # define TH_ACK 0x10
1135 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
ip_state.h 141 #define TH_OPENING (TH_SYN|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;
  /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/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_osfp.c 133 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN)
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/dist/pf/libexec/tftp-proxy/
filter.c 303 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0);
  /src/usr.sbin/trpt/
trpt.c 453 ack = th->th_ack;
486 pf(TH_ACK, "ACK");
  /src/dist/pf/usr.sbin/ftp-proxy/
filter.c 326 pfr.rule.flagset = (TH_SYN|TH_ACK);
  /src/usr.sbin/npf/npfctl/
npf_data.c 525 case 'A': tfl |= TH_ACK; break;
npf_show.c 174 if (tfl & TH_ACK) buf[i++] = 'A';
npf_build.c 510 npfctl_bpf_tcpfl(bc, TH_SYN, TH_SYN | TH_ACK | TH_FIN | TH_RST);

Completed in 30 milliseconds

1 2