Home
last modified time | relevance | path

Searched refs:PF_OUT (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/bsd/tcpdump/dist/
H A Dpf_print_state.c209 if (s->direction == PF_OUT) { in print_state()
224 if (s->direction == PF_OUT) in print_state()
230 if (s->direction == PF_OUT) in print_state()
H A Dpf.h35 enum { PF_INOUT=0, PF_IN=1, PF_OUT=2 }; enumerator
/netbsd-src/dist/pf/sbin/pfctl/
H A Dpf_print_state.c200 if (s->direction == PF_OUT) { in print_state()
215 if (s->direction == PF_OUT) in print_state()
221 if (s->direction == PF_OUT) in print_state()
H A Dpfctl_parser.c775 else if (r->direction == PF_OUT) in print_rule()
H A Dparse.y2246 | OUT { $$ = PF_OUT; }
/netbsd-src/sys/dist/pf/net/
H A Dpf.c282 if (direction == PF_OUT && \
284 (*state)->rule.ptr->direction == PF_OUT) || \
748 PF_OUT && in pf_src_connlimit()
2611 if (direction == PF_OUT) {
2645 case PF_OUT:
3148 if (direction == PF_OUT) {
3151 if ((nr = pf_get_translation(pd, m, off, PF_OUT, kif, &nsn,
3365 if (direction == PF_OUT) {
3501 ((direction == PF_OUT &&
3637 if (direction == PF_OUT) {
[all …]
H A Dpf_norm.c896 r->packets[dir == PF_OUT]++;
897 r->bytes[dir == PF_OUT] += pd->tot_len;
982 if (dir == PF_OUT && pf_mtag->flags & PF_TAG_FRAGCACHE) {
984 if (dir == PF_OUT && m->m_pkthdr.pf.flags & PF_TAG_FRAGCACHE) {
1143 r->packets[dir == PF_OUT]++;
1144 r->bytes[dir == PF_OUT] += pd->tot_len;
1321 r->packets[dir == PF_OUT]++;
1322 r->bytes[dir == PF_OUT] += pd->tot_len;
H A Dif_pflog.c288 if (af == AF_INET && dir == PF_OUT) { in pflog_packet()
H A Dpf_ioctl.c1906 if (sk->direction == PF_OUT) { in pfioctl()
3304 if (pf_test(dir == PFIL_OUT ? PF_OUT : PF_IN, ifp, mp, NULL) in pfil4_wrapper()
3354 if (pf_test6(dir == PFIL_OUT ? PF_OUT : PF_IN, ifp, mp, NULL) in pfil6_wrapper()
H A Dpfvar.h75 enum { PF_INOUT, PF_IN, PF_OUT }; enumerator
H A Dif_pfsync.c485 sp->direction > PF_OUT || in pfsync_input()
/netbsd-src/dist/pf/libexec/tftp-proxy/
H A Dtftp-proxy.c324 if (add_filter(1, PF_OUT, (struct sockaddr *)&server, in main()
333 if (add_filter(1, PF_OUT, (struct sockaddr *)&proxy_to_server, in main()
H A Dfilter.c351 pnl.direction = PF_OUT; in server_lookup4()
379 pnl.direction = PF_OUT; in server_lookup6()
/netbsd-src/external/bsd/libpcap/dist/
H A Dpflog.h45 #define PF_OUT 2 macro
/netbsd-src/usr.sbin/pf/pfs/
H A Dpfs.c301 fprintf(f, "state %s ", p->direction == PF_OUT ? "out" : "in"); in display_states()
329 if (p->direction == PF_OUT) { in display_states()
H A Dparse.y112 global_state.direction = PF_OUT;
/netbsd-src/dist/pf/usr.sbin/ftp-proxy/
H A Dnpf.c247 di = (pf_dir == PF_OUT) ? NPF_RULE_OUT : NPF_RULE_IN; in npf_add_filter()