/netbsd-src/sys/netinet/ |
H A D | tcp_fsm.h | 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 */
|
H A D | tcp_input.c | 1123 if ((tiflags & TH_ACK) == 0) { in tcp_vtw_input() 1158 (void)tcp_respond(0, m, m, th, th->th_seq + tlen, th->th_ack, TH_ACK); in tcp_vtw_input() 1169 if (tiflags & TH_ACK) { in tcp_vtw_input() 1175 TH_RST|TH_ACK); 1407 (tiflags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN) { in tcp_input() 1440 (tiflags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN) { in tcp_input() 1571 if ((tiflags & (TH_RST|TH_ACK|TH_SYN)) != TH_SYN) { in tcp_input() 1574 } else if ((tiflags & (TH_ACK|TH_SYN)) == in tcp_input() 1575 (TH_ACK|TH_SYN)) { in tcp_input() 1581 } else if (tiflags & TH_ACK) { in tcp_input() [all...] |
H A D | tcp.h | 68 #define TH_ACK 0x10 /* Acknowledge: Part of connection establish */ macro
|
H A D | tcp_sack.c | 258 if (!TCP_SACK_ENABLED(tp) || ((th->th_flags & TH_ACK) == 0) || in tcp_sack_option()
|
H A D | tcp_output.c | 1082 ((flags & TH_ACK) == 0 || in tcp_output() 1108 ((flags & (TH_SYN|TH_ACK)) == TH_SYN || in tcp_output()
|
/netbsd-src/sys/net/npf/ |
H A D | npf_state_tcp.c | 110 CTASSERT(TH_ACK == 0x10); in npf_tcpfl2case() 127 i = (tcpfl & (TH_SYN | TH_FIN)) | ((tcpfl & TH_ACK) >> 2); in npf_tcpfl2case() 382 if ((tcpfl & TH_ACK) == 0) { in npf_tcp_inwindow() 385 } else if ((tcpfl & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST) && ack == 0) { in npf_tcp_inwindow()
|
H A D | npf_sendpkt.c | 176 th->th_flags = TH_ACK | TH_RST; in npf_return_tcp()
|
/netbsd-src/external/bsd/ipf/dist/ipsd/Celler/ |
H A D | ip_compat.h | 63 #ifndef TH_ACK 64 # define TH_ACK 0x10 macro
|
/netbsd-src/external/bsd/ipf/dist/lib/ |
H A D | flags.c | 24 u_char flags[] = { TH_FIN, TH_SYN, TH_RST, TH_PUSH, TH_ACK, TH_URG,
|
H A D | printpacket.c | 98 if (tcp->th_flags & TH_ACK)
|
H A D | ipft_tx.c | 30 TH_ACK, TH_URG, TH_ECN, TH_CWR };
|
/netbsd-src/sys/external/bsd/ipf/netinet/ |
H A D | ip_state.c | 1585 if ((tcp->th_flags & ~(TH_FIN|TH_ACK|TH_ECNALL)) == in ipf_state_add() 2034 if (flags == (TH_SYN|TH_ACK)) { in ipf_state_tcp() 2174 if (!(tcpflags & TH_ACK)) { /* Pretend an ack was sent */ in ipf_state_tcpinwindow() 2176 } else if (((tcpflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) && in ipf_state_tcpinwindow() 2221 } else if ((seq == 0) && (tcpflags == (TH_RST|TH_ACK)) && in ipf_state_tcpinwindow() 4010 ((tcpflags & TH_ACKMASK) == TH_ACK)) { in ipf_tcp_age() 4051 } else if ((tcpflags & (TH_SYN|TH_FIN|TH_ACK)) == in ipf_tcp_age() 4052 TH_ACK) { in ipf_tcp_age() 4080 if ((tcpflags & (TH_SYN|TH_FIN|TH_ACK)) == TH_ACK) { in ipf_tcp_age() 4112 } else if ((tcpflags & TH_ACKMASK) == TH_ACK) { in ipf_tcp_age() [all …]
|
H A D | 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 macro 1135 #define TH_ACKMASK (TH_FIN|TH_SYN|TH_RST|TH_ACK)
|
H A D | ip_state.h | 141 #define TH_OPENING (TH_SYN|TH_ACK)
|
/netbsd-src/usr.sbin/npf/npftest/ |
H A D | npfstream.c | 82 forw ? ">" : "<", (th->th_flags & (TH_SYN | TH_ACK | TH_FIN)), in process_tcpip()
|
/netbsd-src/usr.sbin/npf/npftest/libnpftest/ |
H A D | npf_state_test.c | 25 #define A TH_ACK
|
/netbsd-src/sys/net/ |
H A D | slcompress.c | 196 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) in sl_compress_tcp()
|
/netbsd-src/external/bsd/ipf/dist/ipsend/ |
H A D | iptests.c | 980 for (i = 0; i <= (TH_URG|TH_ACK|TH_PUSH|TH_RST|TH_SYN|TH_FIN); 1035 t->th_flags = TH_ACK; 1148 t->th_flags = TH_ACK|TH_URG; 1175 t->th_flags = TH_ACK;
|
H A D | ipsend.c | 406 tcp->th_flags |= TH_ACK;
|
/netbsd-src/sys/dist/pf/net/ |
H A D | pf.c | 1077 TH_RST|TH_ACK, 0, 0, 0, 1, cur->tag, NULL, NULL); 1311 if (f & TH_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) || 3893 if (((th->th_flags & (TH_SYN|TH_ACK)) != TH_ACK) || 3908 } else if (((th->th_flags & (TH_SYN|TH_ACK)) != [all …]
|
H A D | pf_osfp.c | 133 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN) in pf_osfp_fingerprint_hdr()
|
/netbsd-src/usr.sbin/trpt/ |
H A D | trpt.c | 486 pf(TH_ACK, "ACK"); in tcp_trace()
|
/netbsd-src/usr.sbin/npf/npfctl/ |
H A D | npf_data.c | 479 case 'A': tfl |= TH_ACK; break; in npfctl_parse_tcpflag()
|
H A D | npf_show.c | 169 if (tfl & TH_ACK) buf[i++] = 'A'; in tcpflags2string()
|
/netbsd-src/dist/pf/libexec/tftp-proxy/ |
H A D | filter.c | 303 (TH_SYN|TH_ACK|TH_FIN|TH_RST) : 0); in prepare_rule()
|