cidr              155 drivers/soc/atmel/soc.c static int __init at91_get_cidr_exid_from_dbgu(u32 *cidr, u32 *exid)
cidr              175 drivers/soc/atmel/soc.c 	*cidr = readl(regs + AT91_DBGU_CIDR);
cidr              183 drivers/soc/atmel/soc.c static int __init at91_get_cidr_exid_from_chipid(u32 *cidr, u32 *exid)
cidr              200 drivers/soc/atmel/soc.c 	*cidr = readl(regs + AT91_CHIPID_CIDR);
cidr              213 drivers/soc/atmel/soc.c 	u32 cidr, exid;
cidr              221 drivers/soc/atmel/soc.c 	ret = at91_get_cidr_exid_from_dbgu(&cidr, &exid);
cidr              223 drivers/soc/atmel/soc.c 		ret = at91_get_cidr_exid_from_chipid(&cidr, &exid);
cidr              231 drivers/soc/atmel/soc.c 		if (soc->cidr_match != (cidr & AT91_CIDR_MATCH_MASK))
cidr              234 drivers/soc/atmel/soc.c 		if (!(cidr & AT91_CIDR_EXT) || soc->exid_match == exid)
cidr              250 drivers/soc/atmel/soc.c 					   AT91_CIDR_VERSION(cidr));
cidr              262 drivers/soc/atmel/soc.c 		AT91_CIDR_VERSION(cidr));
cidr               37 include/linux/netfilter/ipset/pfxlen.h extern u32 ip_set_range_to_cidr(u32 from, u32 to, u8 *cidr);
cidr               39 include/linux/netfilter/ipset/pfxlen.h #define ip_set_mask_from_to(from, to, cidr)	\
cidr               41 include/linux/netfilter/ipset/pfxlen.h 	from &= ip_set_hostmask(cidr);		\
cidr               42 include/linux/netfilter/ipset/pfxlen.h 	to = from | ~ip_set_hostmask(cidr);	\
cidr              172 net/netfilter/ipset/ip_set_bitmap_ip.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              174 net/netfilter/ipset/ip_set_bitmap_ip.c 		if (!cidr || cidr > HOST_MASK)
cidr              176 net/netfilter/ipset/ip_set_bitmap_ip.c 		ip_set_mask_from_to(ip, ip_to, cidr);
cidr              266 net/netfilter/ipset/ip_set_bitmap_ip.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              268 net/netfilter/ipset/ip_set_bitmap_ip.c 		if (cidr >= HOST_MASK)
cidr              270 net/netfilter/ipset/ip_set_bitmap_ip.c 		ip_set_mask_from_to(first_ip, last_ip, cidr);
cidr              342 net/netfilter/ipset/ip_set_bitmap_ipmac.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              344 net/netfilter/ipset/ip_set_bitmap_ipmac.c 		if (cidr >= HOST_MASK)
cidr              346 net/netfilter/ipset/ip_set_bitmap_ipmac.c 		ip_set_mask_from_to(first_ip, last_ip, cidr);
cidr              126 net/netfilter/ipset/ip_set_hash_gen.h 	u8 cidr[IPSET_NET_COUNT];  /* the cidr value */
cidr              162 net/netfilter/ipset/ip_set_hash_gen.h #define __CIDR(cidr, i)		(cidr[i])
cidr              164 net/netfilter/ipset/ip_set_hash_gen.h #define __CIDR(cidr, i)		(cidr)
cidr              168 net/netfilter/ipset/ip_set_hash_gen.h #define NCIDR_PUT(cidr)		((cidr) + 1)
cidr              169 net/netfilter/ipset/ip_set_hash_gen.h #define NCIDR_GET(cidr)		((cidr) - 1)
cidr              173 net/netfilter/ipset/ip_set_hash_gen.h #define DCIDR_PUT(cidr)		((cidr) - 1)
cidr              174 net/netfilter/ipset/ip_set_hash_gen.h #define DCIDR_GET(cidr, i)	(__CIDR(cidr, i) + 1)
cidr              176 net/netfilter/ipset/ip_set_hash_gen.h #define DCIDR_PUT(cidr)		(cidr)
cidr              177 net/netfilter/ipset/ip_set_hash_gen.h #define DCIDR_GET(cidr, i)	__CIDR(cidr, i)
cidr              180 net/netfilter/ipset/ip_set_hash_gen.h #define INIT_CIDR(cidr, host_mask)	\
cidr              181 net/netfilter/ipset/ip_set_hash_gen.h 	DCIDR_PUT(((cidr) ? NCIDR_GET(cidr) : host_mask))
cidr              352 net/netfilter/ipset/ip_set_hash_gen.h mtype_add_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n)
cidr              358 net/netfilter/ipset/ip_set_hash_gen.h 	for (i = 0, j = -1; i < NLEN && h->nets[i].cidr[n]; i++) {
cidr              361 net/netfilter/ipset/ip_set_hash_gen.h 		} else if (h->nets[i].cidr[n] < cidr) {
cidr              363 net/netfilter/ipset/ip_set_hash_gen.h 		} else if (h->nets[i].cidr[n] == cidr) {
cidr              364 net/netfilter/ipset/ip_set_hash_gen.h 			h->nets[CIDR_POS(cidr)].nets[n]++;
cidr              370 net/netfilter/ipset/ip_set_hash_gen.h 			h->nets[i].cidr[n] = h->nets[i - 1].cidr[n];
cidr              372 net/netfilter/ipset/ip_set_hash_gen.h 	h->nets[i].cidr[n] = cidr;
cidr              373 net/netfilter/ipset/ip_set_hash_gen.h 	h->nets[CIDR_POS(cidr)].nets[n] = 1;
cidr              379 net/netfilter/ipset/ip_set_hash_gen.h mtype_del_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n)
cidr              385 net/netfilter/ipset/ip_set_hash_gen.h 		if (h->nets[i].cidr[n] != cidr)
cidr              387 net/netfilter/ipset/ip_set_hash_gen.h 		h->nets[CIDR_POS(cidr)].nets[n]--;
cidr              388 net/netfilter/ipset/ip_set_hash_gen.h 		if (h->nets[CIDR_POS(cidr)].nets[n] > 0)
cidr              390 net/netfilter/ipset/ip_set_hash_gen.h 		for (j = i; j < net_end && h->nets[j].cidr[n]; j++)
cidr              391 net/netfilter/ipset/ip_set_hash_gen.h 			h->nets[j].cidr[n] = h->nets[j + 1].cidr[n];
cidr              392 net/netfilter/ipset/ip_set_hash_gen.h 		h->nets[j].cidr[n] = 0;
cidr              544 net/netfilter/ipset/ip_set_hash_gen.h 					NCIDR_PUT(DCIDR_GET(data->cidr, k)),
cidr              941 net/netfilter/ipset/ip_set_hash_gen.h 					NCIDR_PUT(DCIDR_GET(data->cidr, i)),
cidr              982 net/netfilter/ipset/ip_set_hash_gen.h 		mtype_add_cidr(set, h, NCIDR_PUT(DCIDR_GET(d->cidr, i)), i);
cidr             1092 net/netfilter/ipset/ip_set_hash_gen.h 				       NCIDR_PUT(DCIDR_GET(d->cidr, j)), j);
cidr             1187 net/netfilter/ipset/ip_set_hash_gen.h 	for (; j < NLEN && h->nets[j].cidr[0] && !multi; j++) {
cidr             1190 net/netfilter/ipset/ip_set_hash_gen.h 		mtype_data_netmask(d, NCIDR_GET(h->nets[j].cidr[0]), false);
cidr             1191 net/netfilter/ipset/ip_set_hash_gen.h 		for (k = 0; k < NLEN && h->nets[k].cidr[1] && !multi;
cidr             1193 net/netfilter/ipset/ip_set_hash_gen.h 			mtype_data_netmask(d, NCIDR_GET(h->nets[k].cidr[1]),
cidr             1196 net/netfilter/ipset/ip_set_hash_gen.h 		mtype_data_netmask(d, NCIDR_GET(h->nets[j].cidr[0]));
cidr             1244 net/netfilter/ipset/ip_set_hash_gen.h 		if (DCIDR_GET(d->cidr, i) != HOST_MASK)
cidr              137 net/netfilter/ipset/ip_set_hash_ip.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              139 net/netfilter/ipset/ip_set_hash_ip.c 		if (!cidr || cidr > HOST_MASK)
cidr              141 net/netfilter/ipset/ip_set_hash_ip.c 		ip_set_mask_from_to(ip, ip_to, cidr);
cidr              249 net/netfilter/ipset/ip_set_hash_ip.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              251 net/netfilter/ipset/ip_set_hash_ip.c 		if (cidr != HOST_MASK)
cidr              138 net/netfilter/ipset/ip_set_hash_ipmark.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              140 net/netfilter/ipset/ip_set_hash_ipmark.c 		if (!cidr || cidr > HOST_MASK)
cidr              142 net/netfilter/ipset/ip_set_hash_ipmark.c 		ip_set_mask_from_to(ip, ip_to, cidr);
cidr              240 net/netfilter/ipset/ip_set_hash_ipmark.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              242 net/netfilter/ipset/ip_set_hash_ipmark.c 		if (cidr != HOST_MASK)
cidr              161 net/netfilter/ipset/ip_set_hash_ipport.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              163 net/netfilter/ipset/ip_set_hash_ipport.c 		if (!cidr || cidr > HOST_MASK)
cidr              165 net/netfilter/ipset/ip_set_hash_ipport.c 		ip_set_mask_from_to(ip, ip_to, cidr);
cidr              283 net/netfilter/ipset/ip_set_hash_ipport.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              285 net/netfilter/ipset/ip_set_hash_ipport.c 		if (cidr != HOST_MASK)
cidr              168 net/netfilter/ipset/ip_set_hash_ipportip.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              170 net/netfilter/ipset/ip_set_hash_ipportip.c 		if (!cidr || cidr > HOST_MASK)
cidr              172 net/netfilter/ipset/ip_set_hash_ipportip.c 		ip_set_mask_from_to(ip, ip_to, cidr);
cidr              294 net/netfilter/ipset/ip_set_hash_ipportip.c 		u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              296 net/netfilter/ipset/ip_set_hash_ipportip.c 		if (cidr != HOST_MASK)
cidr               55 net/netfilter/ipset/ip_set_hash_ipportnet.c 	u8 cidr:7;
cidr               69 net/netfilter/ipset/ip_set_hash_ipportnet.c 	       ip1->cidr == ip2->cidr &&
cidr               93 net/netfilter/ipset/ip_set_hash_ipportnet.c hash_ipportnet4_data_netmask(struct hash_ipportnet4_elem *elem, u8 cidr)
cidr               95 net/netfilter/ipset/ip_set_hash_ipportnet.c 	elem->ip2 &= ip_set_netmask(cidr);
cidr               96 net/netfilter/ipset/ip_set_hash_ipportnet.c 	elem->cidr = cidr - 1;
cidr              108 net/netfilter/ipset/ip_set_hash_ipportnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr + 1) ||
cidr              140 net/netfilter/ipset/ip_set_hash_ipportnet.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
cidr              145 net/netfilter/ipset/ip_set_hash_ipportnet.c 		e.cidr = HOST_MASK - 1;
cidr              153 net/netfilter/ipset/ip_set_hash_ipportnet.c 	e.ip2 &= ip_set_netmask(e.cidr + 1);
cidr              164 net/netfilter/ipset/ip_set_hash_ipportnet.c 	struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 };
cidr              169 net/netfilter/ipset/ip_set_hash_ipportnet.c 	u8 cidr;
cidr              194 net/netfilter/ipset/ip_set_hash_ipportnet.c 		cidr = nla_get_u8(tb[IPSET_ATTR_CIDR2]);
cidr              195 net/netfilter/ipset/ip_set_hash_ipportnet.c 		if (!cidr || cidr > HOST_MASK)
cidr              197 net/netfilter/ipset/ip_set_hash_ipportnet.c 		e.cidr = cidr - 1;
cidr              227 net/netfilter/ipset/ip_set_hash_ipportnet.c 		e.ip2 = htonl(ip2_from & ip_set_hostmask(e.cidr + 1));
cidr              241 net/netfilter/ipset/ip_set_hash_ipportnet.c 		cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              243 net/netfilter/ipset/ip_set_hash_ipportnet.c 		if (!cidr || cidr > HOST_MASK)
cidr              245 net/netfilter/ipset/ip_set_hash_ipportnet.c 		ip_set_mask_from_to(ip, ip_to, cidr);
cidr              265 net/netfilter/ipset/ip_set_hash_ipportnet.c 		ip_set_mask_from_to(ip2_from, ip2_to, e.cidr + 1);
cidr              282 net/netfilter/ipset/ip_set_hash_ipportnet.c 				ip2 = ip_set_range_to_cidr(ip2, ip2_to, &cidr);
cidr              283 net/netfilter/ipset/ip_set_hash_ipportnet.c 				e.cidr = cidr - 1;
cidr              304 net/netfilter/ipset/ip_set_hash_ipportnet.c 	u8 cidr:7;
cidr              318 net/netfilter/ipset/ip_set_hash_ipportnet.c 	       ip1->cidr == ip2->cidr &&
cidr              342 net/netfilter/ipset/ip_set_hash_ipportnet.c hash_ipportnet6_data_netmask(struct hash_ipportnet6_elem *elem, u8 cidr)
cidr              344 net/netfilter/ipset/ip_set_hash_ipportnet.c 	ip6_netmask(&elem->ip2, cidr);
cidr              345 net/netfilter/ipset/ip_set_hash_ipportnet.c 	elem->cidr = cidr - 1;
cidr              357 net/netfilter/ipset/ip_set_hash_ipportnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr + 1) ||
cidr              391 net/netfilter/ipset/ip_set_hash_ipportnet.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
cidr              396 net/netfilter/ipset/ip_set_hash_ipportnet.c 		e.cidr = HOST_MASK - 1;
cidr              404 net/netfilter/ipset/ip_set_hash_ipportnet.c 	ip6_netmask(&e.ip2, e.cidr + 1);
cidr              415 net/netfilter/ipset/ip_set_hash_ipportnet.c 	struct hash_ipportnet6_elem e = { .cidr = HOST_MASK - 1 };
cidr              419 net/netfilter/ipset/ip_set_hash_ipportnet.c 	u8 cidr;
cidr              433 net/netfilter/ipset/ip_set_hash_ipportnet.c 		cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              435 net/netfilter/ipset/ip_set_hash_ipportnet.c 		if (cidr != HOST_MASK)
cidr              452 net/netfilter/ipset/ip_set_hash_ipportnet.c 		cidr = nla_get_u8(tb[IPSET_ATTR_CIDR2]);
cidr              453 net/netfilter/ipset/ip_set_hash_ipportnet.c 		if (!cidr || cidr > HOST_MASK)
cidr              455 net/netfilter/ipset/ip_set_hash_ipportnet.c 		e.cidr = cidr - 1;
cidr              458 net/netfilter/ipset/ip_set_hash_ipportnet.c 	ip6_netmask(&e.ip2, e.cidr + 1);
cidr               45 net/netfilter/ipset/ip_set_hash_net.c 	u8 cidr;
cidr               56 net/netfilter/ipset/ip_set_hash_net.c 	       ip1->cidr == ip2->cidr;
cidr               78 net/netfilter/ipset/ip_set_hash_net.c hash_net4_data_netmask(struct hash_net4_elem *elem, u8 cidr)
cidr               80 net/netfilter/ipset/ip_set_hash_net.c 	elem->ip &= ip_set_netmask(cidr);
cidr               81 net/netfilter/ipset/ip_set_hash_net.c 	elem->cidr = cidr;
cidr               90 net/netfilter/ipset/ip_set_hash_net.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) ||
cidr              119 net/netfilter/ipset/ip_set_hash_net.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
cidr              123 net/netfilter/ipset/ip_set_hash_net.c 	if (e.cidr == 0)
cidr              126 net/netfilter/ipset/ip_set_hash_net.c 		e.cidr = HOST_MASK;
cidr              129 net/netfilter/ipset/ip_set_hash_net.c 	e.ip &= ip_set_netmask(e.cidr);
cidr              140 net/netfilter/ipset/ip_set_hash_net.c 	struct hash_net4_elem e = { .cidr = HOST_MASK };
cidr              161 net/netfilter/ipset/ip_set_hash_net.c 		e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              162 net/netfilter/ipset/ip_set_hash_net.c 		if (!e.cidr || e.cidr > HOST_MASK)
cidr              174 net/netfilter/ipset/ip_set_hash_net.c 		e.ip = htonl(ip & ip_set_hostmask(e.cidr));
cidr              194 net/netfilter/ipset/ip_set_hash_net.c 		ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr);
cidr              210 net/netfilter/ipset/ip_set_hash_net.c 	u8 cidr;
cidr              221 net/netfilter/ipset/ip_set_hash_net.c 	       ip1->cidr == ip2->cidr;
cidr              243 net/netfilter/ipset/ip_set_hash_net.c hash_net6_data_netmask(struct hash_net6_elem *elem, u8 cidr)
cidr              245 net/netfilter/ipset/ip_set_hash_net.c 	ip6_netmask(&elem->ip, cidr);
cidr              246 net/netfilter/ipset/ip_set_hash_net.c 	elem->cidr = cidr;
cidr              255 net/netfilter/ipset/ip_set_hash_net.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) ||
cidr              287 net/netfilter/ipset/ip_set_hash_net.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
cidr              291 net/netfilter/ipset/ip_set_hash_net.c 	if (e.cidr == 0)
cidr              294 net/netfilter/ipset/ip_set_hash_net.c 		e.cidr = HOST_MASK;
cidr              297 net/netfilter/ipset/ip_set_hash_net.c 	ip6_netmask(&e.ip, e.cidr);
cidr              307 net/netfilter/ipset/ip_set_hash_net.c 	struct hash_net6_elem e = { .cidr = HOST_MASK };
cidr              329 net/netfilter/ipset/ip_set_hash_net.c 		e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              330 net/netfilter/ipset/ip_set_hash_net.c 		if (!e.cidr || e.cidr > HOST_MASK)
cidr              334 net/netfilter/ipset/ip_set_hash_net.c 	ip6_netmask(&e.ip, e.cidr);
cidr               48 net/netfilter/ipset/ip_set_hash_netiface.c 	u8 cidr;
cidr               57 net/netfilter/ipset/ip_set_hash_netiface.c 	u8 cidr;
cidr               71 net/netfilter/ipset/ip_set_hash_netiface.c 	       ip1->cidr == ip2->cidr &&
cidr               96 net/netfilter/ipset/ip_set_hash_netiface.c hash_netiface4_data_netmask(struct hash_netiface4_elem *elem, u8 cidr)
cidr               98 net/netfilter/ipset/ip_set_hash_netiface.c 	elem->ip &= ip_set_netmask(cidr);
cidr               99 net/netfilter/ipset/ip_set_hash_netiface.c 	elem->cidr = cidr;
cidr              111 net/netfilter/ipset/ip_set_hash_netiface.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) ||
cidr              158 net/netfilter/ipset/ip_set_hash_netiface.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
cidr              164 net/netfilter/ipset/ip_set_hash_netiface.c 		e.cidr = HOST_MASK;
cidr              167 net/netfilter/ipset/ip_set_hash_netiface.c 	e.ip &= ip_set_netmask(e.cidr);
cidr              197 net/netfilter/ipset/ip_set_hash_netiface.c 	struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 };
cidr              219 net/netfilter/ipset/ip_set_hash_netiface.c 		e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              220 net/netfilter/ipset/ip_set_hash_netiface.c 		if (e.cidr > HOST_MASK)
cidr              234 net/netfilter/ipset/ip_set_hash_netiface.c 		e.ip = htonl(ip & ip_set_hostmask(e.cidr));
cidr              249 net/netfilter/ipset/ip_set_hash_netiface.c 		ip_set_mask_from_to(ip, ip_to, e.cidr);
cidr              256 net/netfilter/ipset/ip_set_hash_netiface.c 		ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr);
cidr              272 net/netfilter/ipset/ip_set_hash_netiface.c 	u8 cidr;
cidr              280 net/netfilter/ipset/ip_set_hash_netiface.c 	u8 cidr;
cidr              294 net/netfilter/ipset/ip_set_hash_netiface.c 	       ip1->cidr == ip2->cidr &&
cidr              319 net/netfilter/ipset/ip_set_hash_netiface.c hash_netiface6_data_netmask(struct hash_netiface6_elem *elem, u8 cidr)
cidr              321 net/netfilter/ipset/ip_set_hash_netiface.c 	ip6_netmask(&elem->ip, cidr);
cidr              322 net/netfilter/ipset/ip_set_hash_netiface.c 	elem->cidr = cidr;
cidr              334 net/netfilter/ipset/ip_set_hash_netiface.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) ||
cidr              368 net/netfilter/ipset/ip_set_hash_netiface.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
cidr              374 net/netfilter/ipset/ip_set_hash_netiface.c 		e.cidr = HOST_MASK;
cidr              377 net/netfilter/ipset/ip_set_hash_netiface.c 	ip6_netmask(&e.ip, e.cidr);
cidr              404 net/netfilter/ipset/ip_set_hash_netiface.c 	struct hash_netiface6_elem e = { .cidr = HOST_MASK, .elem = 1 };
cidr              427 net/netfilter/ipset/ip_set_hash_netiface.c 		e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              428 net/netfilter/ipset/ip_set_hash_netiface.c 		if (e.cidr > HOST_MASK)
cidr              432 net/netfilter/ipset/ip_set_hash_netiface.c 	ip6_netmask(&e.ip, e.cidr);
cidr               48 net/netfilter/ipset/ip_set_hash_netnet.c 		u8 cidr[2];
cidr               90 net/netfilter/ipset/ip_set_hash_netnet.c hash_netnet4_data_netmask(struct hash_netnet4_elem *elem, u8 cidr, bool inner)
cidr               93 net/netfilter/ipset/ip_set_hash_netnet.c 		elem->ip[1] &= ip_set_netmask(cidr);
cidr               94 net/netfilter/ipset/ip_set_hash_netnet.c 		elem->cidr[1] = cidr;
cidr               96 net/netfilter/ipset/ip_set_hash_netnet.c 		elem->ip[0] &= ip_set_netmask(cidr);
cidr               97 net/netfilter/ipset/ip_set_hash_netnet.c 		elem->cidr[0] = cidr;
cidr              109 net/netfilter/ipset/ip_set_hash_netnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) ||
cidr              110 net/netfilter/ipset/ip_set_hash_netnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) ||
cidr              134 net/netfilter/ipset/ip_set_hash_netnet.c 	e->cidr[0] = HOST_MASK;
cidr              135 net/netfilter/ipset/ip_set_hash_netnet.c 	e->cidr[1] = HOST_MASK;
cidr              148 net/netfilter/ipset/ip_set_hash_netnet.c 	e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK);
cidr              149 net/netfilter/ipset/ip_set_hash_netnet.c 	e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK);
cidr              151 net/netfilter/ipset/ip_set_hash_netnet.c 		e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK;
cidr              155 net/netfilter/ipset/ip_set_hash_netnet.c 	e.ip[0] &= ip_set_netmask(e.cidr[0]);
cidr              156 net/netfilter/ipset/ip_set_hash_netnet.c 	e.ip[1] &= ip_set_netmask(e.cidr[1]);
cidr              194 net/netfilter/ipset/ip_set_hash_netnet.c 		e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              195 net/netfilter/ipset/ip_set_hash_netnet.c 		if (!e.cidr[0] || e.cidr[0] > HOST_MASK)
cidr              200 net/netfilter/ipset/ip_set_hash_netnet.c 		e.cidr[1] = nla_get_u8(tb[IPSET_ATTR_CIDR2]);
cidr              201 net/netfilter/ipset/ip_set_hash_netnet.c 		if (!e.cidr[1] || e.cidr[1] > HOST_MASK)
cidr              214 net/netfilter/ipset/ip_set_hash_netnet.c 		e.ip[0] = htonl(ip & ip_set_hostmask(e.cidr[0]));
cidr              215 net/netfilter/ipset/ip_set_hash_netnet.c 		e.ip[1] = htonl(ip2_from & ip_set_hostmask(e.cidr[1]));
cidr              231 net/netfilter/ipset/ip_set_hash_netnet.c 		ip_set_mask_from_to(ip, ip_to, e.cidr[0]);
cidr              244 net/netfilter/ipset/ip_set_hash_netnet.c 		ip_set_mask_from_to(ip2_from, ip2_to, e.cidr[1]);
cidr              256 net/netfilter/ipset/ip_set_hash_netnet.c 		ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr[0]);
cidr              259 net/netfilter/ipset/ip_set_hash_netnet.c 			ip2 = ip_set_range_to_cidr(ip2, ip2_to, &e.cidr[1]);
cidr              278 net/netfilter/ipset/ip_set_hash_netnet.c 		u8 cidr[2];
cidr              321 net/netfilter/ipset/ip_set_hash_netnet.c hash_netnet6_data_netmask(struct hash_netnet6_elem *elem, u8 cidr, bool inner)
cidr              324 net/netfilter/ipset/ip_set_hash_netnet.c 		ip6_netmask(&elem->ip[1], cidr);
cidr              325 net/netfilter/ipset/ip_set_hash_netnet.c 		elem->cidr[1] = cidr;
cidr              327 net/netfilter/ipset/ip_set_hash_netnet.c 		ip6_netmask(&elem->ip[0], cidr);
cidr              328 net/netfilter/ipset/ip_set_hash_netnet.c 		elem->cidr[0] = cidr;
cidr              340 net/netfilter/ipset/ip_set_hash_netnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) ||
cidr              341 net/netfilter/ipset/ip_set_hash_netnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) ||
cidr              368 net/netfilter/ipset/ip_set_hash_netnet.c 	e->cidr[0] = HOST_MASK;
cidr              369 net/netfilter/ipset/ip_set_hash_netnet.c 	e->cidr[1] = HOST_MASK;
cidr              382 net/netfilter/ipset/ip_set_hash_netnet.c 	e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK);
cidr              383 net/netfilter/ipset/ip_set_hash_netnet.c 	e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK);
cidr              389 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6_netmask(&e.ip[0], e.cidr[0]);
cidr              390 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6_netmask(&e.ip[1], e.cidr[1]);
cidr              427 net/netfilter/ipset/ip_set_hash_netnet.c 		e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              428 net/netfilter/ipset/ip_set_hash_netnet.c 		if (!e.cidr[0] || e.cidr[0] > HOST_MASK)
cidr              433 net/netfilter/ipset/ip_set_hash_netnet.c 		e.cidr[1] = nla_get_u8(tb[IPSET_ATTR_CIDR2]);
cidr              434 net/netfilter/ipset/ip_set_hash_netnet.c 		if (!e.cidr[1] || e.cidr[1] > HOST_MASK)
cidr              438 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6_netmask(&e.ip[0], e.cidr[0]);
cidr              439 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6_netmask(&e.ip[1], e.cidr[1]);
cidr               54 net/netfilter/ipset/ip_set_hash_netport.c 	u8 cidr:7;
cidr               68 net/netfilter/ipset/ip_set_hash_netport.c 	       ip1->cidr == ip2->cidr;
cidr               90 net/netfilter/ipset/ip_set_hash_netport.c hash_netport4_data_netmask(struct hash_netport4_elem *elem, u8 cidr)
cidr               92 net/netfilter/ipset/ip_set_hash_netport.c 	elem->ip &= ip_set_netmask(cidr);
cidr               93 net/netfilter/ipset/ip_set_hash_netport.c 	elem->cidr = cidr - 1;
cidr              104 net/netfilter/ipset/ip_set_hash_netport.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) ||
cidr              135 net/netfilter/ipset/ip_set_hash_netport.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
cidr              140 net/netfilter/ipset/ip_set_hash_netport.c 		e.cidr = HOST_MASK - 1;
cidr              147 net/netfilter/ipset/ip_set_hash_netport.c 	e.ip &= ip_set_netmask(e.cidr + 1);
cidr              158 net/netfilter/ipset/ip_set_hash_netport.c 	struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 };
cidr              162 net/netfilter/ipset/ip_set_hash_netport.c 	u8 cidr;
cidr              183 net/netfilter/ipset/ip_set_hash_netport.c 		cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              184 net/netfilter/ipset/ip_set_hash_netport.c 		if (!cidr || cidr > HOST_MASK)
cidr              186 net/netfilter/ipset/ip_set_hash_netport.c 		e.cidr = cidr - 1;
cidr              214 net/netfilter/ipset/ip_set_hash_netport.c 		e.ip = htonl(ip & ip_set_hostmask(e.cidr + 1));
cidr              235 net/netfilter/ipset/ip_set_hash_netport.c 		ip_set_mask_from_to(ip, ip_to, e.cidr + 1);
cidr              246 net/netfilter/ipset/ip_set_hash_netport.c 		ip = ip_set_range_to_cidr(ip, ip_to, &cidr);
cidr              247 net/netfilter/ipset/ip_set_hash_netport.c 		e.cidr = cidr - 1;
cidr              267 net/netfilter/ipset/ip_set_hash_netport.c 	u8 cidr:7;
cidr              281 net/netfilter/ipset/ip_set_hash_netport.c 	       ip1->cidr == ip2->cidr;
cidr              303 net/netfilter/ipset/ip_set_hash_netport.c hash_netport6_data_netmask(struct hash_netport6_elem *elem, u8 cidr)
cidr              305 net/netfilter/ipset/ip_set_hash_netport.c 	ip6_netmask(&elem->ip, cidr);
cidr              306 net/netfilter/ipset/ip_set_hash_netport.c 	elem->cidr = cidr - 1;
cidr              317 net/netfilter/ipset/ip_set_hash_netport.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) ||
cidr              351 net/netfilter/ipset/ip_set_hash_netport.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
cidr              356 net/netfilter/ipset/ip_set_hash_netport.c 		e.cidr = HOST_MASK - 1;
cidr              363 net/netfilter/ipset/ip_set_hash_netport.c 	ip6_netmask(&e.ip, e.cidr + 1);
cidr              374 net/netfilter/ipset/ip_set_hash_netport.c 	struct hash_netport6_elem e = { .cidr = HOST_MASK  - 1 };
cidr              378 net/netfilter/ipset/ip_set_hash_netport.c 	u8 cidr;
cidr              401 net/netfilter/ipset/ip_set_hash_netport.c 		cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              402 net/netfilter/ipset/ip_set_hash_netport.c 		if (!cidr || cidr > HOST_MASK)
cidr              404 net/netfilter/ipset/ip_set_hash_netport.c 		e.cidr = cidr - 1;
cidr              406 net/netfilter/ipset/ip_set_hash_netport.c 	ip6_netmask(&e.ip, e.cidr + 1);
cidr               49 net/netfilter/ipset/ip_set_hash_netportnet.c 		u8 cidr[2];
cidr               97 net/netfilter/ipset/ip_set_hash_netportnet.c 			      u8 cidr, bool inner)
cidr              100 net/netfilter/ipset/ip_set_hash_netportnet.c 		elem->ip[1] &= ip_set_netmask(cidr);
cidr              101 net/netfilter/ipset/ip_set_hash_netportnet.c 		elem->cidr[1] = cidr;
cidr              103 net/netfilter/ipset/ip_set_hash_netportnet.c 		elem->ip[0] &= ip_set_netmask(cidr);
cidr              104 net/netfilter/ipset/ip_set_hash_netportnet.c 		elem->cidr[0] = cidr;
cidr              117 net/netfilter/ipset/ip_set_hash_netportnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) ||
cidr              118 net/netfilter/ipset/ip_set_hash_netportnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) ||
cidr              144 net/netfilter/ipset/ip_set_hash_netportnet.c 	e->cidr[0] = HOST_MASK;
cidr              145 net/netfilter/ipset/ip_set_hash_netportnet.c 	e->cidr[1] = HOST_MASK;
cidr              158 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK);
cidr              159 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK);
cidr              161 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK;
cidr              169 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.ip[0] &= ip_set_netmask(e.cidr[0]);
cidr              170 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.ip[1] &= ip_set_netmask(e.cidr[1]);
cidr              211 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              212 net/netfilter/ipset/ip_set_hash_netportnet.c 		if (e.cidr[0] > HOST_MASK)
cidr              217 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.cidr[1] = nla_get_u8(tb[IPSET_ATTR_CIDR2]);
cidr              218 net/netfilter/ipset/ip_set_hash_netportnet.c 		if (e.cidr[1] > HOST_MASK)
cidr              247 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.ip[0] = htonl(ip & ip_set_hostmask(e.cidr[0]));
cidr              248 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.ip[1] = htonl(ip2_from & ip_set_hostmask(e.cidr[1]));
cidr              264 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip_set_mask_from_to(ip, ip_to, e.cidr[0]);
cidr              284 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip_set_mask_from_to(ip2_from, ip2_to, e.cidr[1]);
cidr              298 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr[0]);
cidr              304 net/netfilter/ipset/ip_set_hash_netportnet.c 							   &e.cidr[1]);
cidr              324 net/netfilter/ipset/ip_set_hash_netportnet.c 		u8 cidr[2];
cidr              373 net/netfilter/ipset/ip_set_hash_netportnet.c 			      u8 cidr, bool inner)
cidr              376 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip6_netmask(&elem->ip[1], cidr);
cidr              377 net/netfilter/ipset/ip_set_hash_netportnet.c 		elem->cidr[1] = cidr;
cidr              379 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip6_netmask(&elem->ip[0], cidr);
cidr              380 net/netfilter/ipset/ip_set_hash_netportnet.c 		elem->cidr[0] = cidr;
cidr              393 net/netfilter/ipset/ip_set_hash_netportnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) ||
cidr              394 net/netfilter/ipset/ip_set_hash_netportnet.c 	    nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) ||
cidr              423 net/netfilter/ipset/ip_set_hash_netportnet.c 	e->cidr[0] = HOST_MASK;
cidr              424 net/netfilter/ipset/ip_set_hash_netportnet.c 	e->cidr[1] = HOST_MASK;
cidr              437 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK);
cidr              438 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK);
cidr              448 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6_netmask(&e.ip[0], e.cidr[0]);
cidr              449 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6_netmask(&e.ip[1], e.cidr[1]);
cidr              491 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]);
cidr              492 net/netfilter/ipset/ip_set_hash_netportnet.c 		if (e.cidr[0] > HOST_MASK)
cidr              497 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.cidr[1] = nla_get_u8(tb[IPSET_ATTR_CIDR2]);
cidr              498 net/netfilter/ipset/ip_set_hash_netportnet.c 		if (e.cidr[1] > HOST_MASK)
cidr              502 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6_netmask(&e.ip[0], e.cidr[0]);
cidr              503 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6_netmask(&e.ip[1], e.cidr[1]);
cidr              172 net/netfilter/ipset/pfxlen.c ip_set_range_to_cidr(u32 from, u32 to, u8 *cidr)
cidr              182 net/netfilter/ipset/pfxlen.c 			*cidr = i;
cidr              186 net/netfilter/ipset/pfxlen.c 	*cidr = 32;