Home
last modified time | relevance | path

Searched refs:HOST_MASK (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/net/netfilter/ipset/
Dip_set_hash_netnet.c132 #define HOST_MASK 32 macro
145 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt()
146 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt()
148 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt()
171 e.cidr[0] = e.cidr[1] = HOST_MASK; in hash_netnet4_uadt()
193 if (!cidr || cidr > HOST_MASK) in hash_netnet4_uadt()
200 if (!cidr2 || cidr2 > HOST_MASK) in hash_netnet4_uadt()
358 #undef HOST_MASK
362 #define HOST_MASK 128 macro
376 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet6_kadt()
[all …]
Dip_set_hash_netportnet.c143 #define HOST_MASK 32 macro
156 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt()
157 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt()
159 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt()
187 e.cidr[0] = e.cidr[1] = HOST_MASK; in hash_netportnet4_uadt()
211 if (!cidr || cidr > HOST_MASK) in hash_netportnet4_uadt()
218 if (!cidr || cidr > HOST_MASK) in hash_netportnet4_uadt()
415 #undef HOST_MASK
419 #define HOST_MASK 128 macro
433 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet6_kadt()
[all …]
Dip_set_hash_net.c113 #define HOST_MASK 32 macro
124 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt()
131 e.cidr = HOST_MASK; in hash_net4_kadt()
145 struct hash_net4_elem e = { .cidr = HOST_MASK }; in hash_net4_uadt()
170 if (!e.cidr || e.cidr > HOST_MASK) in hash_net4_uadt()
281 #undef HOST_MASK
285 #define HOST_MASK 128 macro
297 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
304 e.cidr = HOST_MASK; in hash_net6_kadt()
317 struct hash_net6_elem e = { .cidr = HOST_MASK }; in hash_net6_uadt()
[all …]
Dip_set_hash_netport.c129 #define HOST_MASK 32 macro
140 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, in hash_netport4_kadt()
145 e.cidr = HOST_MASK - 1; in hash_netport4_kadt()
163 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport4_uadt()
192 if (!cidr || cidr > HOST_MASK) in hash_netport4_uadt()
344 #undef HOST_MASK
348 #define HOST_MASK 128 macro
360 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, in hash_netport6_kadt()
365 e.cidr = HOST_MASK - 1; in hash_netport6_kadt()
383 struct hash_netport6_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport6_uadt()
[all …]
Dip_set_hash_netiface.c211 #define HOST_MASK 32 macro
239 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt()
248 e.cidr = HOST_MASK; in hash_netiface4_kadt()
291 struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface4_uadt()
318 if (e.cidr > HOST_MASK) in hash_netiface4_uadt()
461 #undef HOST_MASK
466 #define HOST_MASK 128 macro
479 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
488 e.cidr = HOST_MASK; in hash_netiface6_kadt()
528 struct hash_netiface6_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface6_uadt()
[all …]
Dip_set_hash_ipportnet.c134 #define HOST_MASK 32 macro
145 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, in hash_ipportnet4_kadt()
150 e.cidr = HOST_MASK - 1; in hash_ipportnet4_kadt()
169 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet4_uadt()
203 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt()
385 #undef HOST_MASK
389 #define HOST_MASK 128 macro
401 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, in hash_ipportnet6_kadt()
406 e.cidr = HOST_MASK - 1; in hash_ipportnet6_kadt()
425 struct hash_ipportnet6_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet6_uadt()
[all …]
Dip_set_hash_ip.c78 #define HOST_MASK 32 macro
212 #undef HOST_MASK
217 #define HOST_MASK 128 macro
Dip_set_hash_ipmark.c81 #define HOST_MASK 32 macro
208 #undef HOST_MASK
213 #define HOST_MASK 128 macro
Dip_set_hash_ipport.c88 #define HOST_MASK 32 macro
249 #undef HOST_MASK
254 #define HOST_MASK 128 macro
Dip_set_hash_ipportip.c90 #define HOST_MASK 32 macro
258 #undef HOST_MASK
262 #define HOST_MASK 128 macro
Dip_set_hash_mac.c66 #define HOST_MASK 32 macro
Dip_set_hash_gen.h924 if (h->netmask != HOST_MASK && in mtype_head()
/linux-4.1.27/drivers/video/fbdev/aty/
Dmach64_accel.c303 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit()
307 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit()
311 pix_width &= ~HOST_MASK; in atyfb_imageblit()
315 pix_width &= ~HOST_MASK; in atyfb_imageblit()
319 pix_width &= ~HOST_MASK; in atyfb_imageblit()
323 pix_width &= ~HOST_MASK; in atyfb_imageblit()
327 pix_width &= ~HOST_MASK; in atyfb_imageblit()
/linux-4.1.27/include/video/
Dmach64.h1104 #define HOST_MASK 0xF0000 macro
/linux-4.1.27/drivers/net/ethernet/micrel/
Dksz884x.c1074 #define HOST_MASK (1 << SWITCH_PORT_NUM) macro
2865 entry->ports = HOST_MASK; in sw_init_stp()
4258 HOST_MASK | (1 << port)); in sw_enable()
5343 member = HOST_MASK | sw->member; in bridge_change()
5345 member = HOST_MASK | (1 << port); in bridge_change()