Home
last modified time | relevance | path

Searched refs:tcpfl (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/net/npf/
H A Dnpf_state_tcp.c104 npf_tcpfl2case(const unsigned tcpfl) in npf_tcpfl2case() argument
127 i = (tcpfl & (TH_SYN | TH_FIN)) | ((tcpfl & TH_ACK) >> 2); in npf_tcpfl2case()
296 const int tcpfl = th->th_flags; in npf_tcp_inwindow() local
325 if (tcpfl & TH_SYN) { in npf_tcp_inwindow()
328 if (tcpfl & TH_FIN) { in npf_tcp_inwindow()
377 if (tcpfl & TH_SYN) { in npf_tcp_inwindow()
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()
390 if (__predict_false(tcpfl & TH_RST)) { in npf_tcp_inwindow()
461 const unsigned tcpfl = th->th_flags, state = nst->nst_state; in npf_state_tcp() local
[all …]
/netbsd-src/usr.sbin/npf/npftest/libnpftest/
H A Dnpf_state_test.c16 int tcpfl; /* TCP flags. */ member
128 th->th_flags = p->tcpfl; in construct_packet()
/netbsd-src/external/bsd/ipf/dist/tools/
H A Dipmon.c83 struct flags tcpfl[] = { variable
1236 for (i = 0; tcpfl[i].value; i++) in print_ipflog()
1237 if (tp.th_flags & tcpfl[i].value) in print_ipflog()
1238 *t++ = tcpfl[i].flag; in print_ipflog()