Lines Matching refs:tcpfl
104 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
467 if (__predict_true((tcpfl & TH_RST) == 0)) { in npf_state_tcp()
468 const u_int flagcase = npf_tcpfl2case(tcpfl); in npf_state_tcp()