Home
last modified time | relevance | path

Searched refs:NFPROTO_INET (Results 1 – 25 of 31) sorted by relevance

12

/linux/net/netfilter/
H A Dcore.c298 case NFPROTO_INET: in nf_hook_entry_head()
354 (pf == NFPROTO_INET && reg->hooknum == NF_INET_INGRESS)) in nf_ingress_hook()
371 if (pf == NFPROTO_INET && reg->hooknum == NF_INET_INGRESS) { in nf_static_key_inc()
386 if (pf == NFPROTO_INET && reg->hooknum == NF_INET_INGRESS) { in nf_static_key_dec()
418 case NFPROTO_INET: in __nf_register_net_hook()
531 if (reg->pf == NFPROTO_INET) { in nf_unregister_net_hook()
533 __nf_unregister_net_hook(net, NFPROTO_INET, reg); in nf_unregister_net_hook()
561 if (reg->pf == NFPROTO_INET) { in nf_register_net_hook()
563 err = __nf_register_net_hook(net, NFPROTO_INET, reg); in nf_register_net_hook()
H A Dnft_nat.c147 ctx->family != NFPROTO_INET) in nft_nat_validate()
198 if (ctx->family != NFPROTO_INET && ctx->family != family) in nft_nat_init()
342 priv->family == NFPROTO_INET) in nft_nat_inet_eval()
359 .family = NFPROTO_INET,
H A Dnft_chain_filter.c198 .family = NFPROTO_INET,
374 table->family != NFPROTO_INET) in nf_tables_netdev_event()
384 if (table->family == NFPROTO_INET && in nf_tables_netdev_event()
H A Dnft_synproxy.c188 case NFPROTO_INET: in nft_synproxy_do_init()
220 case NFPROTO_INET: in nft_synproxy_do_destroy()
255 ctx->family != NFPROTO_INET) in nft_synproxy_validate()
H A Dnft_masq.c204 nf_ct_netns_put(ctx->net, NFPROTO_INET); in nft_masq_inet_destroy()
220 .family = NFPROTO_INET,
H A Dnft_redir.c194 nf_ct_netns_put(ctx->net, NFPROTO_INET); in nft_redir_inet_destroy()
210 .family = NFPROTO_INET,
H A Dnft_fib_inet.c56 .family = NFPROTO_INET,
H A Dnft_xfrm.c48 case NFPROTO_INET: in nft_xfrm_get_init()
239 ctx->family != NFPROTO_INET) in nft_xfrm_validate()
H A Dnft_socket.c185 case NFPROTO_INET: in nft_socket_init()
282 ctx->family != NFPROTO_INET) in nft_socket_validate()
H A Dnft_ct.c440 case NFPROTO_INET: in nft_ct_get_init()
1093 case NFPROTO_INET: in nft_ct_helper_obj_init()
1185 family = NFPROTO_INET; in nft_ct_helper_obj_dump()
1259 if (priv->l3num == ctx->family || ctx->family == NFPROTO_INET) in nft_ct_expect_obj_init()
1263 case NFPROTO_INET: /* tuple.src.l3num supports NFPROTO_IPV4/6 only */ in nft_ct_expect_obj_init()
1339 if (l3num == NFPROTO_INET) in nft_ct_expect_obj_eval()
H A Dnft_reject_inet.c86 .family = NFPROTO_INET,
H A Dnft_tproxy.c216 case NFPROTO_INET: in nft_tproxy_init()
320 ctx->family != NFPROTO_INET) in nft_tproxy_validate()
H A Dnft_chain_nat.c91 .family = NFPROTO_INET,
H A Dnf_flow_table_inet.c69 .family = NFPROTO_INET,
H A Dnft_chain_route.c137 .family = NFPROTO_INET,
H A Dnft_meta.c546 case NFPROTO_INET: in nft_meta_get_validate_sdif()
568 case NFPROTO_INET: in nft_meta_get_validate_xfrm()
619 case NFPROTO_INET: in nft_meta_set_validate()
H A Dnft_rt.c170 ctx->family != NFPROTO_INET) in nft_rt_validate()
H A Dnft_osf.c118 case NFPROTO_INET: in nft_osf_validate()
H A Dnf_log.c164 if (pf == NFPROTO_INET) { in nf_logger_find_get()
195 if (pf == NFPROTO_INET) { in nf_logger_put()
H A Dnft_queue.c83 case NFPROTO_INET: in nft_queue_validate()
H A Dnf_conntrack_proto.c587 case NFPROTO_INET: in nf_ct_netns_get()
615 case NFPROTO_INET: in nf_ct_netns_put()
H A Dnfnetlink_hook.c203 if (ops->pf == NFPROTO_INET && ops->hooknum == NF_INET_INGRESS) in nfnl_hook_dump_one()
H A Dnf_conntrack_standalone.c1126 nf_ct_netns_put(net, NFPROTO_INET); in nf_conntrack_fini_net()
1151 ret = nf_ct_netns_get(net, NFPROTO_INET); in nf_conntrack_pernet_init()
/linux/include/uapi/linux/
H A Dnetfilter.h60 NFPROTO_INET = 1, enumerator
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnetfilter_link_attach.c27 { .pf = NFPROTO_INET, .priority = 1, .name = "invalid-inet-not-supported", },

12