Home
last modified time | relevance | path

Searched refs:srcmask (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/include/uapi/linux/netfilter/
Dxt_hashlimit.h67 __u8 srcmask, dstmask; member
81 __u8 srcmask, dstmask; member
96 __u8 srcmask, dstmask; member
/linux-6.1.9/net/ipv4/
Dfib_rules.c41 __be32 srcmask; member
185 if (((saddr ^ r->src) & r->srcmask) || in fib4_rule_match()
278 rule4->srcmask = inet_make_mask(rule4->src_len); in fib4_rule_configure()
/linux-6.1.9/net/netfilter/
Dxt_hashlimit.c151 to->srcmask = cfg->srcmask; in cfg_copy()
163 to->srcmask = cfg->srcmask; in cfg_copy()
654 hinfo->cfg.srcmask); in hashlimit_init_dst()
674 hashlimit_ipv6_mask(dst->ip6.src, hinfo->cfg.srcmask); in hashlimit_init_dst()
857 if (cfg->srcmask > 32 || cfg->dstmask > 32) in hashlimit_mt_check_common()
860 if (cfg->srcmask > 128 || cfg->dstmask > 128) in hashlimit_mt_check_common()
/linux-6.1.9/arch/powerpc/kernel/
Dsmp.c741 static void or_cpumasks_related(int i, int j, struct cpumask *(*srcmask)(int), in or_cpumasks_related()
747 mask = srcmask(j); in or_cpumasks_related()
748 for_each_cpu(k, srcmask(i)) in or_cpumasks_related()
754 mask = srcmask(i); in or_cpumasks_related()
755 for_each_cpu(k, srcmask(j)) in or_cpumasks_related()