/freebsd/sys/netpfil/pf/ |
H A D | pf.c | 465 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 D | pf_lb.c | 144 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 D | pf.h | 49 enum { PF_INOUT, PF_IN, PF_OUT }; enumerator
|
H A D | pf_ioctl.c | 2379 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 D | pf_nl.c | 1288 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 D | pflow.c | 771 sk = st->key[st->direction == PF_IN ? PF_SK_WIRE : PF_SK_STACK]; in export_pflow()
|
/freebsd/contrib/tcpdump/ |
H A D | pflog.h | 44 #define PF_IN 1 macro
|
H A D | print-pflog.c | 95 { PF_IN, "in" },
|
/freebsd/contrib/libpcap/ |
H A D | pflog.h | 44 #define PF_IN 1 macro
|
H A D | gencode.c | 8595 ((dir == 0) ? PF_IN : PF_OUT)); in gen_inbound()
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64clat.c | 74 plog->dir = PF_IN; in nat64clat_log()
|
H A D | nat64stl.c | 73 plog->dir = PF_IN; in nat64stl_log()
|
H A D | nat64lsn.c | 184 plog->dir = PF_IN; in nat64lsn_log()
|
/freebsd/contrib/pf/tftp-proxy/ |
H A D | tftp-proxy.c | 290 if (add_filter(1, PF_IN, (struct sockaddr *)&server, in main()
|
/freebsd/contrib/pf/ftp-proxy/ |
H A D | ftp-proxy.c | 999 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 D | pf_print_state.c | 291 if (s->direction == PF_OUT || (afto && s->direction == PF_IN)) in print_state()
|
H A D | pfctl_parser.c | 778 if (r->direction == PF_IN) in print_eth_rule() 906 if (r->direction == PF_IN) in print_rule()
|
H A D | parse.y | 1593 r.direction = PF_IN; 1646 r.direction = PF_IN; 3287 | IN { $$ = PF_IN; }
|
/freebsd/sys/net/ |
H A D | pfvar.h | 1011 ((state)->direction == PF_IN))
|