Home
last modified time | relevance | path

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

/Linux-v6.1/net/netfilter/ipset/
Dip_set_hash_netnet.c129 #define HOST_MASK 32 macro
135 e->cidr[0] = HOST_MASK; in hash_netnet4_init()
136 e->cidr[1] = HOST_MASK; in hash_netnet4_init()
149 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt()
150 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt()
152 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt()
197 if (!e.cidr[0] || e.cidr[0] > HOST_MASK) in hash_netnet4_uadt()
203 if (!e.cidr[1] || e.cidr[1] > HOST_MASK) in hash_netnet4_uadt()
373 #undef HOST_MASK
376 #define HOST_MASK 128 macro
[all …]
Dip_set_hash_netportnet.c139 #define HOST_MASK 32 macro
145 e->cidr[0] = HOST_MASK; in hash_netportnet4_init()
146 e->cidr[1] = HOST_MASK; in hash_netportnet4_init()
159 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt()
160 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt()
162 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt()
214 if (e.cidr[0] > HOST_MASK) in hash_netportnet4_uadt()
220 if (e.cidr[1] > HOST_MASK) in hash_netportnet4_uadt()
428 #undef HOST_MASK
431 #define HOST_MASK 128 macro
[all …]
Dip_set_hash_net.c109 #define HOST_MASK 32 macro
120 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt()
127 e.cidr = HOST_MASK; in hash_net4_kadt()
141 struct hash_net4_elem e = { .cidr = HOST_MASK }; in hash_net4_uadt()
163 if (!e.cidr || e.cidr > HOST_MASK) in hash_net4_uadt()
282 #undef HOST_MASK
285 #define HOST_MASK 128 macro
297 .cidr = 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_ipportnet.c130 #define HOST_MASK 32 macro
141 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt()
146 e.cidr = HOST_MASK - 1; in hash_ipportnet4_kadt()
165 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet4_uadt()
196 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt()
244 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_netiface.c136 #define HOST_MASK 32 macro
164 .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()
372 #undef HOST_MASK
375 #define HOST_MASK 128 macro
388 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
394 e.cidr = HOST_MASK; in hash_netiface6_kadt()
424 struct hash_netiface6_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface6_uadt()
[all …]
Dip_set_hash_netport.c125 #define HOST_MASK 32 macro
136 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt()
141 e.cidr = HOST_MASK - 1; in hash_netport4_kadt()
159 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport4_uadt()
186 if (!cidr || cidr > HOST_MASK) in hash_netport4_uadt()
346 #undef HOST_MASK
349 #define HOST_MASK 128 macro
361 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt()
366 e.cidr = HOST_MASK - 1; in hash_netport6_kadt()
384 struct hash_netport6_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport6_uadt()
[all …]
Dip_set_hash_ip.c74 #define HOST_MASK 32 macro
143 if (!cidr || cidr > HOST_MASK) in hash_ip4_uadt()
211 #undef HOST_MASK
214 #define HOST_MASK 128 macro
257 if (cidr != HOST_MASK) in hash_ip6_uadt()
Dip_set_hash_ipmark.c76 #define HOST_MASK 32 macro
146 if (!cidr || cidr > HOST_MASK) in hash_ipmark4_uadt()
206 #undef HOST_MASK
209 #define HOST_MASK 128 macro
251 if (cidr != HOST_MASK) in hash_ipmark6_uadt()
Dip_set_hash_ipport.c84 #define HOST_MASK 32 macro
164 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.c86 #define HOST_MASK 32 macro
171 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.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()
Dip_set_hash_ipmac.c79 #define HOST_MASK 32 macro
186 #undef HOST_MASK
191 #define HOST_MASK 128 macro
Dip_set_bitmap_ipmac.c35 #define HOST_MASK 32 macro
344 if (cidr >= HOST_MASK) in bitmap_ipmac_create()
Dip_set_hash_mac.c66 #define HOST_MASK 32 macro
Dip_set_hash_gen.h146 #define NLEN (HOST_MASK + 1)
150 #define NLEN HOST_MASK
172 #ifndef HOST_MASK
1212 if (DCIDR_GET(d->cidr, i) != HOST_MASK) in mtype_test()
1268 if (h->netmask != HOST_MASK && in mtype_head()
/Linux-v6.1/drivers/video/fbdev/aty/
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()
/Linux-v6.1/include/video/
Dmach64.h1100 #define HOST_MASK 0xF0000 macro
/Linux-v6.1/drivers/net/ethernet/micrel/
Dksz884x.c998 #define HOST_MASK (1 << SWITCH_PORT_NUM) macro
2791 entry->ports = HOST_MASK; in sw_init_stp()
4174 HOST_MASK | (1 << port)); in sw_enable()
5253 member = HOST_MASK | sw->member; in bridge_change()
5255 member = HOST_MASK | (1 << port); in bridge_change()