Home
last modified time | relevance | path

Searched refs:PF_IN (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/netpfil/pf/
H A Dpf.c465 if (st->rule->rt == PF_REPLYTO || (pd->af != pd->naf && st->direction == PF_IN)) in BOUND_IFACE()
477 if (st->direction == PF_IN) in BOUND_IFACE()
982 (pfoe->dir == PF_IN && in pf_overload_task()
1756 if (pd->dir == PF_IN) { in pf_state_key_setup()
1906 idx = (dir == PF_IN ? PF_SK_WIRE : PF_SK_STACK); in pf_find_state()
1978 case PF_IN: in pf_find_state_all()
2211 *icmp_dir = PF_IN; in pf_icmp_mapping()
2218 *icmp_dir = PF_IN; in pf_icmp_mapping()
2225 *icmp_dir = PF_IN; in pf_icmp_mapping()
2232 *icmp_dir = PF_IN; in pf_icmp_mapping()
[all …]
H A Dpf_lb.c144 if (r->action == PF_BINAT && pd->dir == PF_IN) { in pf_match_translation()
306 if (!pf_find_state_all_exists(&key, PF_IN)) { in pf_get_sport()
319 if (!pf_find_state_all_exists(&key, PF_IN)) { in pf_get_sport()
325 if (!pf_find_state_all_exists(&key, PF_IN)) { in pf_get_sport()
358 if (!pf_find_state_all_exists(&key, PF_IN)) { in pf_get_sport()
376 if (!pf_find_state_all_exists(&key, PF_IN)) { in pf_get_sport()
880 case PF_IN: in pf_get_translation()
H A Dpf.h49 enum { PF_INOUT, PF_IN, PF_OUT }; enumerator
H A Dpf_ioctl.c2379 dir = PF_IN; in pf_killstates_row()
4121 sidx = (direction == PF_IN) ? 1 : 0; in pfioctl()
4122 didx = (direction == PF_IN) ? 0 : 1; in pfioctl()
6102 dir = PF_IN; in pf_clear_states()
6500 chk = pf_test_eth(PF_IN, flags, ifp, m, inp); in pf_eth_check_in()
6527 chk = pf_test(AF_INET, PF_IN, flags, ifp, m, inp, NULL); in pf_check_in()
6560 chk = pf_test(AF_INET6, PF_IN, flags, (*m)->m_flags & M_LOOP ? V_loif : ifp, in pf_check6_in()
H A Dpf_nl.c1288 sidx = (attrs.direction == PF_IN) ? 1 : 0; in pf_handle_natlook()
1289 didx = (attrs.direction == PF_IN) ? 0 : 1; in pf_handle_natlook()
H A Dpflow.c771 sk = st->key[st->direction == PF_IN ? PF_SK_WIRE : PF_SK_STACK]; in export_pflow()
/freebsd/contrib/tcpdump/
H A Dpflog.h44 #define PF_IN 1 macro
H A Dprint-pflog.c95 { PF_IN, "in" },
/freebsd/contrib/libpcap/
H A Dpflog.h44 #define PF_IN 1 macro
H A Dgencode.c8595 ((dir == 0) ? PF_IN : PF_OUT)); in gen_inbound()
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64clat.c74 plog->dir = PF_IN; in nat64clat_log()
H A Dnat64stl.c73 plog->dir = PF_IN; in nat64stl_log()
H A Dnat64lsn.c184 plog->dir = PF_IN; in nat64lsn_log()
/freebsd/contrib/pf/tftp-proxy/
H A Dtftp-proxy.c290 if (add_filter(1, PF_IN, (struct sockaddr *)&server, in main()
/freebsd/contrib/pf/ftp-proxy/
H A Dftp-proxy.c999 if (add_filter(s->id, PF_IN, client_sa, server_sa, in allow_data_connection()
1040 if (add_filter(s->id, PF_IN, server_sa, client_sa, s->port) == in allow_data_connection()
/freebsd/sbin/pfctl/
H A Dpf_print_state.c291 if (s->direction == PF_OUT || (afto && s->direction == PF_IN)) in print_state()
H A Dpfctl_parser.c778 if (r->direction == PF_IN) in print_eth_rule()
906 if (r->direction == PF_IN) in print_rule()
H A Dparse.y1593 r.direction = PF_IN;
1646 r.direction = PF_IN;
3287 | IN { $$ = PF_IN; }
/freebsd/sys/net/
H A Dpfvar.h1011 ((state)->direction == PF_IN))