Home
last modified time | relevance | path

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

/Linux-v4.19/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()
417 #undef HOST_MASK
420 #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()
276 #undef HOST_MASK
279 #define HOST_MASK 128 macro
291 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
298 e.cidr = HOST_MASK; in hash_net6_kadt()
311 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_netiface.c134 #define HOST_MASK 32 macro
162 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt()
168 e.cidr = HOST_MASK; in hash_netiface4_kadt()
201 struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface4_uadt()
224 if (e.cidr > HOST_MASK) in hash_netiface4_uadt()
356 #undef HOST_MASK
359 #define HOST_MASK 128 macro
372 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
378 e.cidr = HOST_MASK; in hash_netiface6_kadt()
408 struct hash_netiface6_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface6_uadt()
[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()
340 #undef HOST_MASK
343 #define HOST_MASK 128 macro
355 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt()
360 e.cidr = HOST_MASK - 1; in hash_netport6_kadt()
378 struct hash_netport6_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport6_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
143 if (!cidr || cidr > HOST_MASK) in hash_ip4_uadt()
209 #undef HOST_MASK
212 #define HOST_MASK 128 macro
255 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
177 if (!cidr || cidr > HOST_MASK) in bitmap_ip_uadt()
271 if (cidr >= HOST_MASK) in bitmap_ip_create()
281 if (netmask > HOST_MASK) in bitmap_ip_create()
Dip_set_hash_ipmac.c85 #define HOST_MASK 32 macro
192 #undef HOST_MASK
197 #define HOST_MASK 128 macro
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.h157 #define NLEN (HOST_MASK + 1)
161 #define NLEN HOST_MASK
179 #ifndef HOST_MASK
1004 if (DCIDR_GET(d->cidr, i) != HOST_MASK) in mtype_test()
1068 if (h->netmask != HOST_MASK && in mtype_head()
/Linux-v4.19/drivers/video/fbdev/aty/
Dmach64_accel.c304 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit()
308 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit()
312 pix_width &= ~HOST_MASK; in atyfb_imageblit()
316 pix_width &= ~HOST_MASK; in atyfb_imageblit()
320 pix_width &= ~HOST_MASK; in atyfb_imageblit()
324 pix_width &= ~HOST_MASK; in atyfb_imageblit()
328 pix_width &= ~HOST_MASK; in atyfb_imageblit()
/Linux-v4.19/include/video/
Dmach64.h1104 #define HOST_MASK 0xF0000 macro
/Linux-v4.19/drivers/net/ethernet/micrel/
Dksz884x.c1074 #define HOST_MASK (1 << SWITCH_PORT_NUM) macro
2865 entry->ports = HOST_MASK; in sw_init_stp()
4255 HOST_MASK | (1 << port)); in sw_enable()
5339 member = HOST_MASK | sw->member; in bridge_change()
5341 member = HOST_MASK | (1 << port); in bridge_change()