Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/netfilter/
Dxt_hashlimit.h67 __u8 srcmask, dstmask; member
81 __u8 srcmask, dstmask; member
96 __u8 srcmask, dstmask; member
/linux-6.12.1/net/ipv4/
Dfib_rules.c42 __be32 srcmask; member
186 if (((saddr ^ r->src) & r->srcmask) || in fib4_rule_match()
305 rule4->srcmask = inet_make_mask(rule4->src_len); in fib4_rule_configure()
/linux-6.12.1/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.12.1/arch/powerpc/kernel/
Dsmp.c735 static void or_cpumasks_related(int i, int j, struct cpumask *(*srcmask)(int), in or_cpumasks_related()
741 mask = srcmask(j); in or_cpumasks_related()
742 for_each_cpu(k, srcmask(i)) in or_cpumasks_related()
748 mask = srcmask(i); in or_cpumasks_related()
749 for_each_cpu(k, srcmask(j)) in or_cpumasks_related()
/linux-6.12.1/drivers/net/ethernet/microchip/vcap/
Dvcap_api.c1191 u8 *srcvalue, u8 *srcmask, in vcap_copy_limited_keyfield() argument
1196 memcpy(dstmask, srcmask, bytes); in vcap_copy_limited_keyfield()