/linux-4.4.14/net/netfilter/ |
D | xt_repldata.h | 17 unsigned int hook_mask = info->valid_hooks; \ 18 unsigned int nhooks = hweight32(hook_mask); \ 33 tbl->repl.valid_hooks = hook_mask; \ 37 for (; hook_mask != 0; hook_mask >>= 1, ++hooknum) { \ 38 if (!(hook_mask & 1)) \
|
D | xt_devgroup.c | 48 par->hook_mask & ~((1 << NF_INET_PRE_ROUTING) | in devgroup_mt_checkentry() 54 par->hook_mask & ~((1 << NF_INET_FORWARD) | in devgroup_mt_checkentry()
|
D | nft_compat.c | 159 par->hook_mask = 1 << ops->hooknum; in nft_target_set_tgchk_param() 161 par->hook_mask = 0; in nft_target_set_tgchk_param() 287 unsigned int hook_mask = 0; in nft_target_validate() local 295 hook_mask = 1 << ops->hooknum; in nft_target_validate() 296 if (!(hook_mask & target->hooks)) in nft_target_validate() 376 par->hook_mask = 1 << ops->hooknum; in nft_match_set_mtchk_param() 378 par->hook_mask = 0; in nft_match_set_mtchk_param() 469 unsigned int hook_mask = 0; in nft_match_validate() local 477 hook_mask = 1 << ops->hooknum; in nft_match_validate() 478 if (!(hook_mask & match->hooks)) in nft_match_validate()
|
D | xt_physdev.c | 108 par->hook_mask & ((1 << NF_INET_LOCAL_OUT) | in physdev_mt_check() 113 if (par->hook_mask & (1 << NF_INET_LOCAL_OUT)) in physdev_mt_check()
|
D | xt_policy.c | 139 if (par->hook_mask & ((1 << NF_INET_PRE_ROUTING) | in policy_mt_check() 144 if (par->hook_mask & ((1 << NF_INET_POST_ROUTING) | in policy_mt_check()
|
D | xt_addrtype.c | 182 if (par->hook_mask & ((1 << NF_INET_PRE_ROUTING) | in addrtype_mt_checkentry_v1() 190 if (par->hook_mask & ((1 << NF_INET_POST_ROUTING) | in addrtype_mt_checkentry_v1()
|
D | x_tables.c | 388 if (par->match->hooks && (par->hook_mask & ~par->match->hooks) != 0) { in xt_check_match() 394 textify_hooks(used, sizeof(used), par->hook_mask, in xt_check_match() 724 if (par->target->hooks && (par->hook_mask & ~par->target->hooks) != 0) { in xt_check_target() 730 textify_hooks(used, sizeof(used), par->hook_mask, in xt_check_target() 1420 unsigned int hook_mask = table->valid_hooks; in xt_hook_link() local 1421 uint8_t i, num_hooks = hweight32(hook_mask); in xt_hook_link() 1430 for (i = 0, hooknum = 0; i < num_hooks && hook_mask != 0; in xt_hook_link() 1431 hook_mask >>= 1, ++hooknum) { in xt_hook_link() 1432 if (!(hook_mask & 1)) in xt_hook_link()
|
D | nf_tables_inet.c | 74 .hook_mask = (1 << NF_INET_LOCAL_IN) |
|
D | xt_TCPMSS.c | 273 (par->hook_mask & ~((1 << NF_INET_FORWARD) | in tcpmss_tg4_check() 298 (par->hook_mask & ~((1 << NF_INET_FORWARD) | in tcpmss_tg6_check()
|
D | nf_tables_netdev.c | 156 .hook_mask = (1 << NF_NETDEV_INGRESS),
|
D | xt_set.c | 504 !(par->hook_mask & (1 << NF_INET_FORWARD | in set_target_v3_checkentry()
|
D | nf_tables_api.c | 1369 if (!(type->hook_mask & (1 << hooknum))) in nf_tables_newchain()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebt_dnat.c | 32 unsigned int hook_mask; in ebt_dnat_tg_check() local 37 hook_mask = par->hook_mask & ~(1 << NF_BR_NUMHOOKS); in ebt_dnat_tg_check() 39 (hook_mask & ~((1 << NF_BR_PRE_ROUTING) | in ebt_dnat_tg_check() 42 hook_mask & ~(1 << NF_BR_BROUTING))) in ebt_dnat_tg_check()
|
D | ebt_redirect.c | 39 unsigned int hook_mask; in ebt_redirect_tg_check() local 44 hook_mask = par->hook_mask & ~(1 << NF_BR_NUMHOOKS); in ebt_redirect_tg_check() 46 hook_mask & ~(1 << NF_BR_PRE_ROUTING)) && in ebt_redirect_tg_check() 48 hook_mask & ~(1 << NF_BR_BROUTING))) in ebt_redirect_tg_check()
|
D | nf_tables_bridge.c | 158 .hook_mask = (1 << NF_BR_PRE_ROUTING) |
|
D | ebtables.c | 707 mtpar.hook_mask = tgpar.hook_mask = hookmask; in ebt_check_entry()
|
/linux-4.4.14/include/linux/netfilter_bridge/ |
D | ebtables.h | 32 unsigned int hook_mask); 49 unsigned int hook_mask); 67 unsigned int hook_mask); 122 #define BASE_CHAIN (par->hook_mask & (1 << NF_BR_NUMHOOKS)) 124 #define CLEAR_BASE_CHAIN_BIT (par->hook_mask &= ~(1 << NF_BR_NUMHOOKS))
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nft_chain_route_ipv4.c | 67 .hook_mask = (1 << NF_INET_LOCAL_OUT),
|
D | nft_chain_nat_ipv4.c | 74 .hook_mask = (1 << NF_INET_PRE_ROUTING) |
|
D | nf_tables_arp.c | 74 .hook_mask = (1 << NF_ARP_IN) |
|
D | nf_tables_ipv4.c | 95 .hook_mask = (1 << NF_INET_LOCAL_IN) |
|
D | ip_tables.c | 641 .hook_mask = e->comefrom, in check_target() 675 mtpar.hook_mask = e->comefrom; in find_check_entry()
|
D | arp_tables.c | 506 .hook_mask = e->comefrom, in check_target()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nft_chain_nat_ipv6.c | 72 .hook_mask = (1 << NF_INET_PRE_ROUTING) |
|
D | nft_chain_route_ipv6.c | 65 .hook_mask = (1 << NF_INET_LOCAL_OUT),
|
D | nf_tables_ipv6.c | 94 .hook_mask = (1 << NF_INET_LOCAL_IN) |
|
D | ip6_tables.c | 653 .hook_mask = e->comefrom, in check_target() 688 mtpar.hook_mask = e->comefrom; in find_check_entry()
|
/linux-4.4.14/include/linux/netfilter/ |
D | x_tables.h | 65 unsigned int hook_mask; member 96 unsigned int hook_mask; member
|
/linux-4.4.14/net/sched/ |
D | act_ipt.c | 49 par.hook_mask = hook; in ipt_init_target()
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_tables.h | 781 unsigned int hook_mask; member
|