Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/netfilter/ipset/
H A Dip_set_hash_netnet.c128 #define HOST_MASK 32 macro
134 e->cidr[0] = HOST_MASK; in hash_netnet4_init()
135 e->cidr[1] = HOST_MASK; in hash_netnet4_init()
148 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt()
149 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt()
151 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt()
196 if (!e.cidr[0] || e.cidr[0] > HOST_MASK) in hash_netnet4_uadt()
202 if (!e.cidr[1] || e.cidr[1] > HOST_MASK) in hash_netnet4_uadt()
372 #undef HOST_MASK
375 #define HOST_MASK 128 macro
[all …]
H A Dip_set_hash_netportnet.c138 #define HOST_MASK 32 macro
144 e->cidr[0] = HOST_MASK; in hash_netportnet4_init()
145 e->cidr[1] = HOST_MASK; in hash_netportnet4_init()
158 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt()
159 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt()
161 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt()
213 if (e.cidr[0] > HOST_MASK) in hash_netportnet4_uadt()
219 if (e.cidr[1] > HOST_MASK) in hash_netportnet4_uadt()
427 #undef HOST_MASK
430 #define HOST_MASK 128 macro
[all …]
H A Dip_set_hash_net.c108 #define HOST_MASK 32 macro
119 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt()
126 e.cidr = HOST_MASK; in hash_net4_kadt()
140 struct hash_net4_elem e = { .cidr = HOST_MASK }; in hash_net4_uadt()
162 if (!e.cidr || e.cidr > HOST_MASK) in hash_net4_uadt()
281 #undef HOST_MASK
284 #define HOST_MASK 128 macro
296 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
303 e.cidr = HOST_MASK; in hash_net6_kadt()
316 struct hash_net6_elem e = { .cidr = HOST_MASK }; in hash_net6_uadt()
[all …]
H A Dip_set_hash_ipportnet.c129 #define HOST_MASK 32 macro
140 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt()
145 e.cidr = HOST_MASK - 1; in hash_ipportnet4_kadt()
164 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet4_uadt()
195 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt()
243 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt()
379 #undef HOST_MASK
382 #define HOST_MASK 128 macro
394 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt()
399 e.cidr = HOST_MASK - 1; in hash_ipportnet6_kadt()
[all …]
H A Dip_set_hash_netiface.c135 #define HOST_MASK 32 macro
163 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt()
169 e.cidr = HOST_MASK; in hash_netiface4_kadt()
202 struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface4_uadt()
225 if (e.cidr > HOST_MASK) in hash_netiface4_uadt()
371 #undef HOST_MASK
374 #define HOST_MASK 128 macro
387 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
393 e.cidr = HOST_MASK; in hash_netiface6_kadt()
423 struct hash_netiface6_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface6_uadt()
[all …]
H A Dip_set_hash_netport.c124 #define HOST_MASK 32 macro
135 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt()
140 e.cidr = HOST_MASK - 1; in hash_netport4_kadt()
158 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport4_uadt()
185 if (!cidr || cidr > HOST_MASK) in hash_netport4_uadt()
345 #undef HOST_MASK
348 #define HOST_MASK 128 macro
360 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), 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 …]
H A Dip_set_hash_ip.c73 #define HOST_MASK 32 macro
142 if (!cidr || cidr > HOST_MASK) in hash_ip4_uadt()
210 #undef HOST_MASK
213 #define HOST_MASK 128 macro
256 if (cidr != HOST_MASK) in hash_ip6_uadt()
H A Dip_set_hash_ipmark.c75 #define HOST_MASK 32 macro
145 if (!cidr || cidr > HOST_MASK) in hash_ipmark4_uadt()
205 #undef HOST_MASK
208 #define HOST_MASK 128 macro
250 if (cidr != HOST_MASK) in hash_ipmark6_uadt()
H A Dip_set_hash_ipport.c83 #define HOST_MASK 32 macro
163 if (!cidr || cidr > HOST_MASK) in hash_ipport4_uadt()
240 #undef HOST_MASK
243 #define HOST_MASK 128 macro
288 if (cidr != HOST_MASK) in hash_ipport6_uadt()
H A Dip_set_hash_ipportip.c85 #define HOST_MASK 32 macro
170 if (!cidr || cidr > HOST_MASK) in hash_ipportip4_uadt()
250 #undef HOST_MASK
253 #define HOST_MASK 128 macro
299 if (cidr != HOST_MASK) in hash_ipportip6_uadt()
H A Dip_set_bitmap_ip.c36 #define HOST_MASK 32 macro
174 if (!cidr || cidr > HOST_MASK) in bitmap_ip_uadt()
280 if (cidr >= HOST_MASK) in bitmap_ip_create()
290 if (netmask > HOST_MASK) in bitmap_ip_create()
H A Dip_set_hash_ipmac.c79 #define HOST_MASK 32 macro
186 #undef HOST_MASK
191 #define HOST_MASK 128 macro
H A Dip_set_bitmap_ipmac.c35 #define HOST_MASK 32 macro
344 if (cidr >= HOST_MASK) in bitmap_ipmac_create()
H A Dip_set_hash_mac.c66 #define HOST_MASK 32 macro
H A Dip_set_hash_gen.h171 #define NLEN (HOST_MASK + 1)
175 #define NLEN HOST_MASK
197 #ifndef HOST_MASK
1234 if (DCIDR_GET(d->cidr, i) != HOST_MASK) in mtype_test()
1290 if (h->netmask != HOST_MASK && in mtype_head()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/aty/
H A Dmach64_accel.c307 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit()
311 pix_width &= ~(BYTE_ORDER_MASK | 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()
331 pix_width &= ~HOST_MASK; in atyfb_imageblit()
/OK3568_Linux_fs/kernel/include/video/
H A Dmach64.h1100 #define HOST_MASK 0xF0000 macro
/OK3568_Linux_fs/kernel/drivers/net/ethernet/micrel/
H A Dksz884x.c1066 #define HOST_MASK (1 << SWITCH_PORT_NUM) macro
2859 entry->ports = HOST_MASK; in sw_init_stp()
4249 HOST_MASK | (1 << port)); in sw_enable()
5329 member = HOST_MASK | sw->member; in bridge_change()
5331 member = HOST_MASK | (1 << port); in bridge_change()