Home
last modified time | relevance | path

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

/linux/include/uapi/linux/netfilter/
H A Dxt_hashlimit.h67 __u8 srcmask, dstmask; member
81 __u8 srcmask, dstmask; member
96 __u8 srcmask, dstmask; member
/linux/net/ipv4/
H A Dfib_rules.c44 __be32 dstmask; member
187 ((daddr ^ r->dst) & r->dstmask)) in fib4_rule_match()
307 rule4->dstmask = inet_make_mask(rule4->dst_len); in fib4_rule_configure()
/linux/net/netfilter/
H A Dxt_hashlimit.c152 to->dstmask = cfg->dstmask; in cfg_copy()
164 to->dstmask = cfg->dstmask; in cfg_copy()
651 hinfo->cfg.dstmask); in hashlimit_init_dst()
669 hashlimit_ipv6_mask(dst->ip6.dst, hinfo->cfg.dstmask); 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/arch/powerpc/kernel/
H A Dsmp.c737 struct cpumask *(*dstmask)(int)) in or_cpumasks_related()
744 cpumask_or(dstmask(k), dstmask(k), mask); in or_cpumasks_related()
751 cpumask_or(dstmask(k), dstmask(k), mask); in or_cpumasks_related()
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c1190 static void vcap_copy_limited_keyfield(u8 *dstvalue, u8 *dstmask, in vcap_copy_limited_keyfield() argument
1196 memcpy(dstmask, srcmask, bytes); in vcap_copy_limited_keyfield()
1197 vcap_apply_width(dstmask, width, bytes); in vcap_copy_limited_keyfield()