PF_OUT
pnl.direction = PF_OUT;
pnl.direction = PF_OUT;
if (add_filter(1, PF_OUT, (struct sockaddr *)&server,
if (add_filter(1, PF_OUT, (struct sockaddr *)&proxy_to_server,
| OUT { $$ = PF_OUT; }
if (s->direction == PF_OUT) {
if (s->direction == PF_OUT)
if (s->direction == PF_OUT)
else if (r->direction == PF_OUT)
pnl.direction = PF_OUT;
pnl.direction = PF_OUT;
if (fops->add_filter(s->id, PF_OUT, proxy_sa, server_sa,
if (fops->add_filter(s->id, PF_OUT, orig_sa, client_sa,
di = (pf_dir == PF_OUT) ? NPF_RULE_OUT : NPF_RULE_IN;
if (af == AF_INET && dir == PF_OUT) {
sp->direction > PF_OUT ||
if (direction == PF_OUT) {
case PF_OUT:
if (direction == PF_OUT && \
(*state)->rule.ptr->direction == PF_OUT) || \
if (direction == PF_OUT) {
if ((nr = pf_get_translation(pd, m, off, PF_OUT, kif, &nsn,
if (direction == PF_OUT) {
((direction == PF_OUT &&
if (direction == PF_OUT) {
if (direction == PF_OUT) {
if (direction == PF_OUT) {
if (direction == PF_OUT)
if (direction == PF_OUT)
if (direction == PF_OUT) {
if (direction == PF_OUT)
(dir != PF_IN && dir != PF_OUT) || oifp == NULL)
if (pf_test(PF_OUT, ifp, &m0, NULL) != PF_PASS)
(dir != PF_IN && dir != PF_OUT) || oifp == NULL)
if (pf_test6(PF_OUT, ifp, &m0, NULL) != PF_PASS)
PF_ACPY(&pd.baddr, dir == PF_OUT ? pd.src : pd.dst, AF_INET);
kif->pfik_bytes[0][dir == PF_OUT][action != PF_PASS] += pd.tot_len;
kif->pfik_packets[0][dir == PF_OUT][action != PF_PASS]++;
dirndx = (dir == PF_OUT);
if (dir == PF_OUT)
pd.tot_len, dir == PF_OUT, r->action == PF_PASS,
pd.tot_len, dir == PF_OUT, r->action == PF_PASS,
PF_ACPY(&pd.baddr, dir == PF_OUT ? pd.src : pd.dst, AF_INET6);
kif->pfik_bytes[1][dir == PF_OUT][action != PF_PASS] += pd.tot_len;
kif->pfik_packets[1][dir == PF_OUT][action != PF_PASS]++;
dirndx = (dir == PF_OUT);
if (dir == PF_OUT)
pd.tot_len, dir == PF_OUT, r->action == PF_PASS,
pd.tot_len, dir == PF_OUT, r->action == PF_PASS,
PF_OUT &&
if (sk->direction == PF_OUT) {
if (pf_test(dir == PFIL_OUT ? PF_OUT : PF_IN, ifp, mp, NULL)
if (pf_test6(dir == PFIL_OUT ? PF_OUT : PF_IN, ifp, mp, NULL)
r->packets[dir == PF_OUT]++;
r->bytes[dir == PF_OUT] += pd->tot_len;
r->packets[dir == PF_OUT]++;
r->bytes[dir == PF_OUT] += pd->tot_len;
r->packets[dir == PF_OUT]++;
r->bytes[dir == PF_OUT] += pd->tot_len;
if (dir == PF_OUT && pf_mtag->flags & PF_TAG_FRAGCACHE) {
if (dir == PF_OUT && m->m_pkthdr.pf.flags & PF_TAG_FRAGCACHE) {
global_state.direction = PF_OUT;
fprintf(f, "state %s ", p->direction == PF_OUT ? "out" : "in");
if (p->direction == PF_OUT) {