/Linux-v4.19/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) | 168 .hook_mask = (1 << NF_INET_LOCAL_IN) | 225 .hook_mask = (1 << NF_BR_PRE_ROUTING) | 280 .hook_mask = (1 << NF_NETDEV_INGRESS),
|
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 | 191 par->hook_mask = 1 << ops->hooknum; in nft_target_set_tgchk_param() 193 par->hook_mask = 0; in nft_target_set_tgchk_param() 314 unsigned int hook_mask = 0; in nft_target_validate() local 322 hook_mask = 1 << ops->hooknum; in nft_target_validate() 323 if (target->hooks && !(hook_mask & target->hooks)) in nft_target_validate() 419 par->hook_mask = 1 << ops->hooknum; in nft_match_set_mtchk_param() 421 par->hook_mask = 0; in nft_match_set_mtchk_param() 561 unsigned int hook_mask = 0; in nft_match_validate() local 569 hook_mask = 1 << ops->hooknum; in nft_match_validate() 570 if (match->hooks && !(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() 111 if (par->hook_mask & (1 << NF_INET_LOCAL_OUT)) in physdev_mt_check()
|
D | xt_policy.c | 140 if (par->hook_mask & ((1 << NF_INET_PRE_ROUTING) | in policy_mt_check() 145 if (par->hook_mask & ((1 << NF_INET_POST_ROUTING) | in policy_mt_check()
|
D | nft_flow_offload.c | 129 unsigned int hook_mask = (1 << NF_INET_FORWARD); in nft_flow_offload_validate() local 131 return nft_chain_validate_hooks(ctx->chain, hook_mask); in nft_flow_offload_validate()
|
D | xt_addrtype.c | 174 if (par->hook_mask & ((1 << NF_INET_PRE_ROUTING) | in addrtype_mt_checkentry_v1() 181 if (par->hook_mask & ((1 << NF_INET_POST_ROUTING) | in addrtype_mt_checkentry_v1()
|
D | xt_TCPMSS.c | 273 (par->hook_mask & ~((1 << NF_INET_FORWARD) | in tcpmss_tg4_check() 297 (par->hook_mask & ~((1 << NF_INET_FORWARD) | in tcpmss_tg6_check()
|
D | x_tables.c | 487 if (par->match->hooks && (par->hook_mask & ~par->match->hooks) != 0) { in xt_check_match() 493 par->hook_mask, par->family), in xt_check_match() 1005 if (par->target->hooks && (par->hook_mask & ~par->target->hooks) != 0) { in xt_check_target() 1011 par->hook_mask, par->family), in xt_check_target() 1703 unsigned int hook_mask = table->valid_hooks; in xt_hook_ops_alloc() local 1704 uint8_t i, num_hooks = hweight32(hook_mask); in xt_hook_ops_alloc() 1715 for (i = 0, hooknum = 0; i < num_hooks && hook_mask != 0; in xt_hook_ops_alloc() 1716 hook_mask >>= 1, ++hooknum) { in xt_hook_ops_alloc() 1717 if (!(hook_mask & 1)) in xt_hook_ops_alloc()
|
D | xt_set.c | 473 (par->hook_mask & ~(1 << NF_INET_FORWARD | in set_target_v3_checkentry()
|
/Linux-v4.19/net/bridge/netfilter/ |
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 | ebt_dnat.c | 52 unsigned int hook_mask; in ebt_dnat_tg_check() local 57 hook_mask = par->hook_mask & ~(1 << NF_BR_NUMHOOKS); in ebt_dnat_tg_check() 59 (hook_mask & ~((1 << NF_BR_PRE_ROUTING) | in ebt_dnat_tg_check() 62 hook_mask & ~(1 << NF_BR_BROUTING))) in ebt_dnat_tg_check()
|
D | ebtables.c | 723 mtpar.hook_mask = tgpar.hook_mask = hookmask; in ebt_check_entry()
|
/Linux-v4.19/include/linux/netfilter_bridge/ |
D | ebtables.h | 29 unsigned int hook_mask); 46 unsigned int hook_mask); 64 unsigned int hook_mask); 120 #define BASE_CHAIN (par->hook_mask & (1 << NF_BR_NUMHOOKS)) 122 #define CLEAR_BASE_CHAIN_BIT (par->hook_mask &= ~(1 << NF_BR_NUMHOOKS))
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | nft_chain_nat_ipv4.c | 56 .hook_mask = (1 << NF_INET_PRE_ROUTING) |
|
D | nft_chain_route_ipv4.c | 66 .hook_mask = (1 << NF_INET_LOCAL_OUT),
|
D | ip_tables.c | 510 .hook_mask = e->comefrom, in check_target() 538 mtpar.hook_mask = e->comefrom; in find_check_entry()
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | nft_chain_nat_ipv6.c | 54 .hook_mask = (1 << NF_INET_PRE_ROUTING) |
|
D | nft_chain_route_ipv6.c | 68 .hook_mask = (1 << NF_INET_LOCAL_OUT),
|
D | ip6_tables.c | 528 .hook_mask = e->comefrom, in check_target() 557 mtpar.hook_mask = e->comefrom; in find_check_entry()
|
/Linux-v4.19/include/linux/netfilter/ |
D | x_tables.h | 98 unsigned int hook_mask; member 129 unsigned int hook_mask; member
|
/Linux-v4.19/net/sched/ |
D | em_ipt.c | 55 mtpar.hook_mask = 1 << im->hook; in check_match()
|
D | act_ipt.c | 57 par.hook_mask = hook; in ipt_init_target()
|
/Linux-v4.19/include/net/netfilter/ |
D | nf_tables.h | 916 unsigned int hook_mask; member
|