/linux/net/netfilter/ |
H A D | core.c | 298 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 D | nft_nat.c | 147 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 D | nft_chain_filter.c | 198 .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 D | nft_synproxy.c | 188 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 D | nft_masq.c | 204 nf_ct_netns_put(ctx->net, NFPROTO_INET); in nft_masq_inet_destroy() 220 .family = NFPROTO_INET,
|
H A D | nft_redir.c | 194 nf_ct_netns_put(ctx->net, NFPROTO_INET); in nft_redir_inet_destroy() 210 .family = NFPROTO_INET,
|
H A D | nft_fib_inet.c | 56 .family = NFPROTO_INET,
|
H A D | nft_xfrm.c | 48 case NFPROTO_INET: in nft_xfrm_get_init() 239 ctx->family != NFPROTO_INET) in nft_xfrm_validate()
|
H A D | nft_socket.c | 185 case NFPROTO_INET: in nft_socket_init() 282 ctx->family != NFPROTO_INET) in nft_socket_validate()
|
H A D | nft_ct.c | 440 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 D | nft_reject_inet.c | 86 .family = NFPROTO_INET,
|
H A D | nft_tproxy.c | 216 case NFPROTO_INET: in nft_tproxy_init() 320 ctx->family != NFPROTO_INET) in nft_tproxy_validate()
|
H A D | nft_chain_nat.c | 91 .family = NFPROTO_INET,
|
H A D | nf_flow_table_inet.c | 69 .family = NFPROTO_INET,
|
H A D | nft_chain_route.c | 137 .family = NFPROTO_INET,
|
H A D | nft_meta.c | 546 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 D | nft_rt.c | 170 ctx->family != NFPROTO_INET) in nft_rt_validate()
|
H A D | nft_osf.c | 118 case NFPROTO_INET: in nft_osf_validate()
|
H A D | nf_log.c | 164 if (pf == NFPROTO_INET) { in nf_logger_find_get() 195 if (pf == NFPROTO_INET) { in nf_logger_put()
|
H A D | nft_queue.c | 83 case NFPROTO_INET: in nft_queue_validate()
|
H A D | nf_conntrack_proto.c | 587 case NFPROTO_INET: in nf_ct_netns_get() 615 case NFPROTO_INET: in nf_ct_netns_put()
|
H A D | nfnetlink_hook.c | 203 if (ops->pf == NFPROTO_INET && ops->hooknum == NF_INET_INGRESS) in nfnl_hook_dump_one()
|
H A D | nf_conntrack_standalone.c | 1126 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 D | netfilter.h | 60 NFPROTO_INET = 1, enumerator
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | netfilter_link_attach.c | 27 { .pf = NFPROTO_INET, .priority = 1, .name = "invalid-inet-not-supported", },
|