/linux-6.1.9/net/netfilter/ |
D | xt_repldata.h | 18 unsigned int hook_mask = info->valid_hooks; \ 19 unsigned int nhooks = hweight32(hook_mask); \ 34 tbl->repl.valid_hooks = hook_mask; \ 38 for (; hook_mask != 0; hook_mask >>= 1, ++hooknum) { \ 39 if (!(hook_mask & 1)) \
|
D | nft_chain_filter.c | 30 .hook_mask = (1 << NF_INET_LOCAL_IN) | 75 .hook_mask = (1 << NF_ARP_IN) | 114 .hook_mask = (1 << NF_INET_LOCAL_IN) | 199 .hook_mask = (1 << NF_INET_INGRESS) | 258 .hook_mask = (1 << NF_BR_PRE_ROUTING) | 313 .hook_mask = (1 << NF_NETDEV_INGRESS) |
|
D | nft_chain_nat.c | 41 .hook_mask = (1 << NF_INET_PRE_ROUTING) | 62 .hook_mask = (1 << NF_INET_PRE_ROUTING) | 93 .hook_mask = (1 << NF_INET_PRE_ROUTING) |
|
D | nft_chain_route.c | 57 .hook_mask = (1 << NF_INET_LOCAL_OUT), 107 .hook_mask = (1 << NF_INET_LOCAL_OUT), 138 .hook_mask = (1 << NF_INET_LOCAL_OUT),
|
D | xt_devgroup.c | 45 par->hook_mask & ~((1 << NF_INET_PRE_ROUTING) | in devgroup_mt_checkentry() 51 par->hook_mask & ~((1 << NF_INET_FORWARD) | in devgroup_mt_checkentry()
|
D | nft_compat.c | 177 par->hook_mask = 1 << ops->hooknum; in nft_target_set_tgchk_param() 179 par->hook_mask = 0; in nft_target_set_tgchk_param() 349 unsigned int hook_mask = 0; in nft_target_validate() local 357 hook_mask = 1 << ops->hooknum; in nft_target_validate() 358 if (target->hooks && !(hook_mask & target->hooks)) in nft_target_validate() 454 par->hook_mask = 1 << ops->hooknum; in nft_match_set_mtchk_param() 456 par->hook_mask = 0; in nft_match_set_mtchk_param() 592 unsigned int hook_mask = 0; in nft_match_validate() local 600 hook_mask = 1 << ops->hooknum; in nft_match_validate() 601 if (match->hooks && !(hook_mask & match->hooks)) in nft_match_validate()
|
D | xt_policy.c | 137 if (par->hook_mask & ((1 << NF_INET_PRE_ROUTING) | in policy_mt_check() 142 if (par->hook_mask & ((1 << NF_INET_POST_ROUTING) | in policy_mt_check()
|
D | xt_addrtype.c | 165 if (par->hook_mask & ((1 << NF_INET_PRE_ROUTING) | in addrtype_mt_checkentry_v1() 172 if (par->hook_mask & ((1 << NF_INET_POST_ROUTING) | in addrtype_mt_checkentry_v1()
|
D | xt_TCPMSS.c | 270 (par->hook_mask & ~((1 << NF_INET_FORWARD) | in tcpmss_tg4_check() 294 (par->hook_mask & ~((1 << NF_INET_FORWARD) | in tcpmss_tg6_check()
|
D | x_tables.c | 504 if (par->match->hooks && (par->hook_mask & ~par->match->hooks) != 0) { in xt_check_match() 510 par->hook_mask, par->family), in xt_check_match() 1019 if (par->target->hooks && (par->hook_mask & ~par->target->hooks) != 0) { in xt_check_target() 1025 par->hook_mask, par->family), in xt_check_target() 1734 unsigned int hook_mask = table->valid_hooks; in xt_hook_ops_alloc() local 1735 uint8_t i, num_hooks = hweight32(hook_mask); in xt_hook_ops_alloc() 1746 for (i = 0, hooknum = 0; i < num_hooks && hook_mask != 0; in xt_hook_ops_alloc() 1747 hook_mask >>= 1, ++hooknum) { in xt_hook_ops_alloc() 1748 if (!(hook_mask & 1)) in xt_hook_ops_alloc()
|
D | xt_physdev.c | 105 par->hook_mask & (1 << NF_INET_LOCAL_OUT)) { in physdev_mt_check()
|
D | nft_flow_offload.c | 381 unsigned int hook_mask = (1 << NF_INET_FORWARD); in nft_flow_offload_validate() local 383 return nft_chain_validate_hooks(ctx->chain, hook_mask); in nft_flow_offload_validate()
|
D | xt_set.c | 469 (par->hook_mask & ~(1 << NF_INET_FORWARD | in set_target_v3_checkentry()
|
D | nf_tables_api.c | 2068 if (hook->num >= NFT_MAX_HOOKS || !(type->hook_mask & (1 << hook->num))) in nft_chain_parse_hook()
|
/linux-6.1.9/net/bridge/netfilter/ |
D | ebt_redirect.c | 40 unsigned int hook_mask; in ebt_redirect_tg_check() local 45 hook_mask = par->hook_mask & ~(1 << NF_BR_NUMHOOKS); in ebt_redirect_tg_check() 47 hook_mask & ~(1 << NF_BR_PRE_ROUTING)) && in ebt_redirect_tg_check() 49 hook_mask & ~(1 << NF_BR_BROUTING))) in ebt_redirect_tg_check()
|
D | ebt_dnat.c | 64 unsigned int hook_mask; in ebt_dnat_tg_check() local 69 hook_mask = par->hook_mask & ~(1 << NF_BR_NUMHOOKS); in ebt_dnat_tg_check() 71 (hook_mask & ~((1 << NF_BR_PRE_ROUTING) | in ebt_dnat_tg_check() 74 hook_mask & ~(1 << NF_BR_BROUTING))) in ebt_dnat_tg_check()
|
D | ebtables.c | 737 mtpar.hook_mask = tgpar.hook_mask = hookmask; in ebt_check_entry()
|
/linux-6.1.9/include/linux/netfilter_bridge/ |
D | ebtables.h | 29 unsigned int hook_mask); 46 unsigned int hook_mask); 64 unsigned int hook_mask); 116 #define BASE_CHAIN (par->hook_mask & (1 << NF_BR_NUMHOOKS)) 118 #define CLEAR_BASE_CHAIN_BIT (par->hook_mask &= ~(1 << NF_BR_NUMHOOKS))
|
/linux-6.1.9/include/linux/netfilter/ |
D | x_tables.h | 98 unsigned int hook_mask; member 129 unsigned int hook_mask; member
|
/linux-6.1.9/net/sched/ |
D | em_ipt.c | 52 mtpar.hook_mask = 1 << im->hook; in check_match()
|
D | act_ipt.c | 50 par.hook_mask = hook; in ipt_init_target()
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | ip6_tables.c | 526 .hook_mask = e->comefrom, in check_target() 555 mtpar.hook_mask = e->comefrom; in find_check_entry()
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | ip_tables.c | 508 .hook_mask = e->comefrom, in check_target() 536 mtpar.hook_mask = e->comefrom; in find_check_entry()
|
D | arp_tables.c | 397 .hook_mask = e->comefrom, in check_target()
|
/linux-6.1.9/include/net/netfilter/ |
D | nf_tables.h | 1106 unsigned int hook_mask; member
|