Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/net/netfilter/
H A Dcore.c283 case NFPROTO_NETDEV: in nf_hook_entry_head()
353 if ((pf == NFPROTO_NETDEV && reg->hooknum == NF_NETDEV_INGRESS) || in nf_ingress_hook()
363 return pf == NFPROTO_NETDEV && reg->hooknum == NF_NETDEV_EGRESS; in nf_egress_hook()
372 pf = NFPROTO_NETDEV; in nf_static_key_inc()
387 pf = NFPROTO_NETDEV; in nf_static_key_dec()
404 case NFPROTO_NETDEV: in __nf_register_net_hook()
H A Dnft_fib_netdev.c65 .family = NFPROTO_NETDEV,
H A Dnft_dup_netdev.c89 .family = NFPROTO_NETDEV,
H A Dnf_tables_offload.c230 if (hook->ops.pf != NFPROTO_NETDEV || in nft_chain_offload_support()
516 if (trans->ctx.family != NFPROTO_NETDEV) in nft_flow_rule_offload_abort()
567 if (trans->ctx.family != NFPROTO_NETDEV) in nft_flow_rule_offload_commit()
630 if (table->family != NFPROTO_NETDEV) in __nft_offload_get_chain()
H A Dnft_chain_filter.c312 .family = NFPROTO_NETDEV,
377 if (table->family != NFPROTO_NETDEV && in nf_tables_netdev_event()
H A Dnfnetlink_hook.c274 case NFPROTO_NETDEV: in nfnl_hook_entries_head()
358 if (family == NFPROTO_NETDEV) { in nfnl_hook_dump_start()
H A Dnft_reject_netdev.c166 .family = NFPROTO_NETDEV,
H A 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()
H A Dnft_queue.c87 case NFPROTO_NETDEV: /* lacks okfn */ in nft_queue_validate()
H A Dnft_fwd_netdev.c250 .family = NFPROTO_NETDEV,
H A Dnft_tunnel.c164 .family = NFPROTO_NETDEV,
716 .family = NFPROTO_NETDEV,
H A Dnf_log_syslog.c982 ret = nf_log_set(net, NFPROTO_NETDEV, &nf_netdev_logger); in nf_log_syslog_net_init()
1035 ret = nf_log_register(NFPROTO_NETDEV, &nf_netdev_logger); in nf_log_syslog_init()
H A Dnfnetlink_log.c644 if ((pf == NFPROTO_NETDEV || pf == NFPROTO_BRIDGE) && in __build_packet_message()
757 if (pf == NFPROTO_NETDEV || pf == NFPROTO_BRIDGE) in nfulnl_log_packet()
H A Dnft_ct.c1091 case NFPROTO_NETDEV: in nft_ct_helper_obj_init()
H A Dnf_tables_api.c1354 || family == NFPROTO_NETDEV in nft_supported_family()
8277 hook->ops.pf = NFPROTO_NETDEV; in nft_flowtable_parse_hook()
11187 .family = NFPROTO_NETDEV, in __nft_release_table()
/openbmc/linux/include/uapi/linux/
H A Dnetfilter.h63 NFPROTO_NETDEV = 5, enumerator
/openbmc/linux/tools/bpf/bpftool/
H A Dlink.c573 [NFPROTO_NETDEV] = "netdev",
/openbmc/linux/include/net/netfilter/
H A Dnf_tables.h1252 return family == NFPROTO_NETDEV || in nft_base_chain_netdev()