/linux-4.1.27/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() 286 unsigned int hook_mask = 0; in nft_target_validate() local 294 hook_mask = 1 << ops->hooknum; in nft_target_validate() 295 if (!(hook_mask & target->hooks)) in nft_target_validate() 375 par->hook_mask = 1 << ops->hooknum; in nft_match_set_mtchk_param() 377 par->hook_mask = 0; in nft_match_set_mtchk_param() 467 unsigned int hook_mask = 0; in nft_match_validate() local 475 hook_mask = 1 << ops->hooknum; in nft_match_validate() 476 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 | x_tables.c | 391 if (par->match->hooks && (par->hook_mask & ~par->match->hooks) != 0) { in xt_check_match() 397 textify_hooks(used, sizeof(used), par->hook_mask, in xt_check_match() 566 if (par->target->hooks && (par->hook_mask & ~par->target->hooks) != 0) { in xt_check_target() 572 textify_hooks(used, sizeof(used), par->hook_mask, in xt_check_target() 1195 unsigned int hook_mask = table->valid_hooks; in xt_hook_link() local 1196 uint8_t i, num_hooks = hweight32(hook_mask); in xt_hook_link() 1205 for (i = 0, hooknum = 0; i < num_hooks && hook_mask != 0; in xt_hook_link() 1206 hook_mask >>= 1, ++hooknum) { in xt_hook_link() 1207 if (!(hook_mask & 1)) in xt_hook_link()
|
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 | 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() 295 (par->hook_mask & ~((1 << NF_INET_FORWARD) | in tcpmss_tg6_check()
|
D | xt_set.c | 496 !(par->hook_mask & (1 << NF_INET_FORWARD | in set_target_v3_checkentry()
|
D | nf_tables_api.c | 1322 if (!(type->hook_mask & (1 << hooknum))) in nf_tables_newchain()
|
/linux-4.1.27/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 | 160 .hook_mask = (1 << NF_BR_PRE_ROUTING) |
|
D | ebtables.c | 705 mtpar.hook_mask = tgpar.hook_mask = hookmask; in ebt_check_entry()
|
/linux-4.1.27/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.1.27/net/ipv4/netfilter/ |
D | nft_chain_nat_ipv4.c | 74 .hook_mask = (1 << NF_INET_PRE_ROUTING) |
|
D | nft_chain_route_ipv4.c | 67 .hook_mask = (1 << NF_INET_LOCAL_OUT),
|
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 | 638 .hook_mask = e->comefrom, in check_target() 672 mtpar.hook_mask = e->comefrom; in find_check_entry() 1617 mtpar.hook_mask = e->comefrom; in compat_check_entry()
|
D | arp_tables.c | 500 .hook_mask = e->comefrom, in check_target()
|
/linux-4.1.27/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 | 651 .hook_mask = e->comefrom, in check_target() 686 mtpar.hook_mask = e->comefrom; in find_check_entry() 1630 mtpar.hook_mask = e->comefrom; in compat_check_entry()
|
/linux-4.1.27/include/linux/netfilter/ |
D | x_tables.h | 63 unsigned int hook_mask; member 93 unsigned int hook_mask; member
|
/linux-4.1.27/net/sched/ |
D | act_ipt.c | 49 par.hook_mask = hook; in ipt_init_target()
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_tables.h | 768 unsigned int hook_mask; member
|