PF_IN
if (pd->dir == PF_IN) {
sk == (dir == PF_IN ? si->s->key[PF_SK_WIRE] :
(sk == (dir == PF_IN ? si->s->key[PF_SK_WIRE] :
case PF_IN:
if (pf_find_state_all(&key, PF_IN, NULL) == NULL) {
if (pf_find_state_all(&key, PF_IN, NULL) == NULL) {
if (pf_find_state_all(&key, PF_IN, NULL) == NULL) {
(s)->rule.ptr->direction == PF_IN)) && \
if (pf_find_state_all(&key, PF_IN, NULL) ==
if (pf_find_state_all(&key, PF_IN, NULL) ==
if (r->action == PF_BINAT && direction == PF_IN) {
case PF_IN:
if (direction == PF_IN) {
if (direction != PF_IN) {
if (direction == PF_IN && pf_check_congestion(ifq)) {
pd->dir == PF_IN ? "in" : "out",
pd->dir == PF_IN ? "in" : "out",
if (direction == PF_IN) { /* wire side, straight */
if (direction == PF_IN) { /* wire side, straight */
if (direction == PF_IN) { /* wire side, straight */
pd2.sidx = (direction == PF_IN) ? 1 : 0;
pd2.didx = (direction == PF_IN) ? 0 : 1;
(state->direction == PF_IN &&
if (direction == PF_IN) {
(dir != PF_IN && dir != PF_OUT) || oifp == NULL)
(dir != PF_IN && dir != PF_OUT) || oifp == NULL)
pd.sidx = (dir == PF_IN) ? 0 : 1;
pd.didx = (dir == PF_IN) ? 1 : 0;
if (dir == PF_IN && s && s->key[PF_SK_STACK])
if (dir == PF_IN && action == PF_PASS && (pd.proto == IPPROTO_TCP ||
if (dir == PF_IN && action == PF_PASS && r->divert.port) {
&s->key[(s->direction == PF_IN)]->
&s->key[(s->direction == PF_IN)]->
addr[(s->direction == PF_IN)],
pd.sidx = (dir == PF_IN) ? 0 : 1;
pd.didx = (dir == PF_IN) ? 1 : 0;
if (dir == PF_IN && s && s->key[PF_SK_STACK])
if (dir == PF_IN && action == PF_PASS && (pd.proto == IPPROTO_TCP ||
if (dir == PF_IN && action == PF_PASS && r->divert.port) {
&s->key[(s->direction == PF_IN)]->addr[0],
&s->key[(s->direction == PF_IN)]->addr[1],
sidx = (direction == PF_IN) ? 1 : 0;
didx = (direction == PF_IN) ? 0 : 1;
chk = pf_test(PF_IN, ifp, m, NULL, NULL);
chk = pf_test6(PF_IN, ifp, m, NULL, NULL);
if (dir == PF_IN)
if (add_filter(s->id, PF_IN, client_sa, server_sa,
if (add_filter(s->id, PF_IN, server_sa, client_sa, s->port) ==
r.direction = PF_IN;
r.direction = PF_IN;
| IN { $$ = PF_IN; }
if (r->direction == PF_IN)