Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/ipset/
Dip_set_hash_netnet.c131 #define HOST_MASK 32 macro
137 e->cidr[0] = HOST_MASK; in hash_netnet4_init()
138 e->cidr[1] = HOST_MASK; in hash_netnet4_init()
151 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt()
152 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt()
154 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt()
198 if (!e.cidr[0] || e.cidr[0] > HOST_MASK) in hash_netnet4_uadt()
204 if (!e.cidr[1] || e.cidr[1] > HOST_MASK) in hash_netnet4_uadt()
361 #undef HOST_MASK
364 #define HOST_MASK 128 macro
[all …]
Dip_set_hash_netportnet.c142 #define HOST_MASK 32 macro
148 e->cidr[0] = HOST_MASK; in hash_netportnet4_init()
149 e->cidr[1] = HOST_MASK; in hash_netportnet4_init()
162 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt()
163 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt()
165 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt()
216 if (!e.cidr[0] || e.cidr[0] > HOST_MASK) in hash_netportnet4_uadt()
222 if (!e.cidr[1] || e.cidr[1] > HOST_MASK) in hash_netportnet4_uadt()
416 #undef HOST_MASK
419 #define HOST_MASK 128 macro
[all …]
Dip_set_hash_net.c112 #define HOST_MASK 32 macro
123 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt()
130 e.cidr = HOST_MASK; in hash_net4_kadt()
144 struct hash_net4_elem e = { .cidr = HOST_MASK }; in hash_net4_uadt()
166 if (!e.cidr || e.cidr > HOST_MASK) in hash_net4_uadt()
277 #undef HOST_MASK
280 #define HOST_MASK 128 macro
292 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
299 e.cidr = HOST_MASK; in hash_net6_kadt()
312 struct hash_net6_elem e = { .cidr = HOST_MASK }; in hash_net6_uadt()
[all …]
Dip_set_hash_ipportnet.c133 #define HOST_MASK 32 macro
144 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt()
149 e.cidr = HOST_MASK - 1; in hash_ipportnet4_kadt()
168 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet4_uadt()
199 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt()
247 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt()
380 #undef HOST_MASK
383 #define HOST_MASK 128 macro
395 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt()
400 e.cidr = HOST_MASK - 1; in hash_ipportnet6_kadt()
[all …]
Dip_set_hash_netport.c128 #define HOST_MASK 32 macro
139 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt()
144 e.cidr = HOST_MASK - 1; in hash_netport4_kadt()
162 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport4_uadt()
188 if (!cidr || cidr > HOST_MASK) in hash_netport4_uadt()
339 #undef HOST_MASK
342 #define HOST_MASK 128 macro
354 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt()
359 e.cidr = HOST_MASK - 1; in hash_netport6_kadt()
377 struct hash_netport6_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport6_uadt()
[all …]
Dip_set_hash_netiface.c134 #define HOST_MASK 32 macro
162 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt()
170 e.cidr = HOST_MASK; in hash_netiface4_kadt()
203 struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface4_uadt()
226 if (e.cidr > HOST_MASK) in hash_netiface4_uadt()
359 #undef HOST_MASK
362 #define HOST_MASK 128 macro
375 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
383 e.cidr = HOST_MASK; in hash_netiface6_kadt()
413 struct hash_netiface6_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface6_uadt()
[all …]
Dip_set_hash_ipmark.c80 #define HOST_MASK 32 macro
145 if (!cidr || cidr > HOST_MASK) in hash_ipmark4_uadt()
202 #undef HOST_MASK
205 #define HOST_MASK 128 macro
247 if (cidr != HOST_MASK) in hash_ipmark6_uadt()
Dip_set_hash_ip.c77 #define HOST_MASK 32 macro
144 if (!cidr || cidr > HOST_MASK) in hash_ip4_uadt()
207 #undef HOST_MASK
210 #define HOST_MASK 128 macro
253 if (cidr != HOST_MASK) in hash_ip6_uadt()
Dip_set_hash_ipport.c87 #define HOST_MASK 32 macro
167 if (!cidr || cidr > HOST_MASK) in hash_ipport4_uadt()
241 #undef HOST_MASK
244 #define HOST_MASK 128 macro
289 if (cidr != HOST_MASK) in hash_ipport6_uadt()
Dip_set_hash_ipportip.c89 #define HOST_MASK 32 macro
174 if (!cidr || cidr > HOST_MASK) in hash_ipportip4_uadt()
251 #undef HOST_MASK
254 #define HOST_MASK 128 macro
300 if (cidr != HOST_MASK) in hash_ipportip6_uadt()
Dip_set_bitmap_ip.c39 #define HOST_MASK 32 macro
176 if (!cidr || cidr > HOST_MASK) in bitmap_ip_uadt()
273 if (cidr >= HOST_MASK) in bitmap_ip_create()
283 if (netmask > HOST_MASK) in bitmap_ip_create()
Dip_set_hash_mac.c70 #define HOST_MASK 32 macro
Dip_set_bitmap_ipmac.c39 #define HOST_MASK 32 macro
345 if (cidr >= HOST_MASK) in bitmap_ipmac_create()
Dip_set_hash_gen.h256 #ifndef HOST_MASK
1077 if (h->netmask != HOST_MASK && in mtype_head()
/linux-4.4.14/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.4.14/include/video/
Dmach64.h1104 #define HOST_MASK 0xF0000 macro
/linux-4.4.14/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()