Home
last modified time | relevance | path

Searched refs:NFPROTO_NETDEV (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/include/linux/
Dnetfilter_netdev.h12 if (!static_key_false(&nf_hooks_needed[NFPROTO_NETDEV][NF_NETDEV_INGRESS])) in nf_hook_ingress_active()
32 NFPROTO_NETDEV, skb->dev, NULL, NULL, in nf_hook_ingress()
57 if (!static_key_false(&nf_hooks_needed[NFPROTO_NETDEV][NF_NETDEV_EGRESS])) in nf_hook_egress_active()
102 NFPROTO_NETDEV, NULL, dev, NULL, in nf_hook_egress()
/Linux-v6.1/net/netfilter/
Dcore.c271 case NFPROTO_NETDEV: in nf_hook_entry_head()
341 if ((pf == NFPROTO_NETDEV && reg->hooknum == NF_NETDEV_INGRESS) || in nf_ingress_hook()
351 return pf == NFPROTO_NETDEV && reg->hooknum == NF_NETDEV_EGRESS; in nf_egress_hook()
360 pf = NFPROTO_NETDEV; in nf_static_key_inc()
375 pf = NFPROTO_NETDEV; in nf_static_key_dec()
392 case NFPROTO_NETDEV: in __nf_register_net_hook()
Dnft_fib_netdev.c65 .family = NFPROTO_NETDEV,
Dnf_tables_offload.c229 if (hook->ops.pf != NFPROTO_NETDEV || in nft_chain_offload_support()
515 if (trans->ctx.family != NFPROTO_NETDEV) in nft_flow_rule_offload_abort()
566 if (trans->ctx.family != NFPROTO_NETDEV) in nft_flow_rule_offload_commit()
629 if (table->family != NFPROTO_NETDEV) in __nft_offload_get_chain()
Dnft_dup_netdev.c88 .family = NFPROTO_NETDEV,
Dnft_chain_filter.c312 .family = NFPROTO_NETDEV,
371 if (table->family != NFPROTO_NETDEV) in nf_tables_netdev_event()
Dnfnetlink_hook.c219 case NFPROTO_NETDEV: in nfnl_hook_entries_head()
303 if (family == NFPROTO_NETDEV) { in nfnl_hook_dump_start()
Dnft_meta.c95 case NFPROTO_NETDEV: in nft_meta_get_eval_pkttype_lo()
563 case NFPROTO_NETDEV: in nft_meta_get_validate_xfrm()
616 case NFPROTO_NETDEV: in nft_meta_set_validate()
Dnft_reject_netdev.c166 .family = NFPROTO_NETDEV,
Dnft_queue.c87 case NFPROTO_NETDEV: /* lacks okfn */ in nft_queue_validate()
Dnft_fwd_netdev.c248 .family = NFPROTO_NETDEV,
Dnf_log_syslog.c981 ret = nf_log_set(net, NFPROTO_NETDEV, &nf_netdev_logger); in nf_log_syslog_net_init()
1034 ret = nf_log_register(NFPROTO_NETDEV, &nf_netdev_logger); in nf_log_syslog_init()
Dnfnetlink_log.c636 if ((pf == NFPROTO_NETDEV || pf == NFPROTO_BRIDGE) && in __build_packet_message()
749 if (pf == NFPROTO_NETDEV || pf == NFPROTO_BRIDGE) in nfulnl_log_packet()
Dnft_tunnel.c164 .family = NFPROTO_NETDEV,
Dnft_ct.c1069 case NFPROTO_NETDEV: in nft_ct_helper_obj_init()
Dnf_tables_api.c1156 || family == NFPROTO_NETDEV in nft_supported_family()
7413 hook->ops.pf = NFPROTO_NETDEV; in nft_flowtable_parse_hook()
9967 .family = NFPROTO_NETDEV, in __nft_release_table()
/Linux-v6.1/include/uapi/linux/
Dnetfilter.h63 NFPROTO_NETDEV = 5, enumerator
/Linux-v6.1/include/net/netfilter/
Dnf_tables.h1202 return family == NFPROTO_NETDEV || in nft_base_chain_netdev()