Home
last modified time | relevance | path

Searched refs:dstmask (Results 1 – 4 of 4) 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.c46 __be32 dstmask; member
189 ((daddr ^ r->dst) & r->dstmask)) in fib4_rule_match()
345 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()
655 hinfo->cfg.dstmask); in hashlimit_init_dst()
675 hashlimit_ipv6_mask(dst->ip6.dst, hinfo->cfg.dstmask); in hashlimit_init_dst()
863 if (cfg->srcmask > 32 || cfg->dstmask > 32) in hashlimit_mt_check_common()
866 if (cfg->srcmask > 128 || cfg->dstmask > 128) in hashlimit_mt_check_common()
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c1200 static void vcap_copy_limited_keyfield(u8 *dstvalue, u8 *dstmask, in vcap_copy_limited_keyfield() argument
1206 memcpy(dstmask, srcmask, bytes); in vcap_copy_limited_keyfield()
1207 vcap_apply_width(dstmask, width, bytes); in vcap_copy_limited_keyfield()