Home
last modified time | relevance | path

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

/netbsd/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
H A Dprint-pflog.c85 { PF_OUT, "out" },
/netbsd/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/sys/dist/pf/net/
H A Dpf.c748 PF_OUT && in pf_src_connlimit()
2611 if (direction == PF_OUT) {
2645 case PF_OUT:
3148 if (direction == PF_OUT) {
4259 if (direction == PF_OUT)
4323 if (direction == PF_OUT)
4974 if (direction == PF_OUT)
5992 dirndx = (dir == PF_OUT);
6035 if (dir == PF_OUT)
6414 dirndx = (dir == 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) {
1141 r->packets[dir == PF_OUT]++;
1142 r->bytes[dir == PF_OUT] += pd->tot_len;
1319 r->packets[dir == PF_OUT]++;
1320 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/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/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/dist/pf/usr.sbin/ftp-proxy/
H A Dfilter.c375 pnl.direction = PF_OUT; in server_lookup4()
403 pnl.direction = PF_OUT; in server_lookup6()
H A Dnpf.c247 di = (pf_dir == PF_OUT) ? NPF_RULE_OUT : NPF_RULE_IN; in npf_add_filter()
H A Dftp-proxy.c1036 if (fops->add_filter(s->id, PF_OUT, proxy_sa, server_sa, in allow_data_connection()
1077 if (fops->add_filter(s->id, PF_OUT, orig_sa, client_sa, in allow_data_connection()
/netbsd/external/bsd/libpcap/dist/
H A Dgencode.c8249 (bpf_int32)((dir == 0) ? PF_IN : PF_OUT)); in gen_inbound()