Home
last modified time | relevance | path

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

/linux-6.6.21/net/netfilter/ipset/
Dip_set_hash_netnet.c132 #define HOST_MASK 32 macro
138 e->cidr[0] = HOST_MASK; in hash_netnet4_init()
139 e->cidr[1] = HOST_MASK; in hash_netnet4_init()
152 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt()
153 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt()
155 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt()
199 if (!e.cidr[0] || e.cidr[0] > HOST_MASK) in hash_netnet4_uadt()
205 if (!e.cidr[1] || e.cidr[1] > HOST_MASK) in hash_netnet4_uadt()
367 #undef HOST_MASK
370 #define HOST_MASK 128 macro
[all …]
Dip_set_hash_netportnet.c140 #define HOST_MASK 32 macro
146 e->cidr[0] = HOST_MASK; in hash_netportnet4_init()
147 e->cidr[1] = HOST_MASK; in hash_netportnet4_init()
160 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt()
161 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt()
163 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt()
224 if (e.cidr[0] > HOST_MASK) in hash_netportnet4_uadt()
230 if (e.cidr[1] > HOST_MASK) in hash_netportnet4_uadt()
431 #undef HOST_MASK
434 #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()
279 #undef HOST_MASK
282 #define HOST_MASK 128 macro
294 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
301 e.cidr = HOST_MASK; in hash_net6_kadt()
314 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()
383 #undef HOST_MASK
386 #define HOST_MASK 128 macro
398 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt()
403 e.cidr = HOST_MASK - 1; in hash_ipportnet6_kadt()
[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()
185 if (!cidr || cidr > HOST_MASK) in hash_netport4_uadt()
341 #undef HOST_MASK
344 #define HOST_MASK 128 macro
356 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt()
361 e.cidr = HOST_MASK - 1; in hash_netport6_kadt()
379 struct hash_netport6_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport6_uadt()
[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()
369 #undef HOST_MASK
372 #define HOST_MASK 128 macro
385 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
391 e.cidr = HOST_MASK; in hash_netiface6_kadt()
421 struct hash_netiface6_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface6_uadt()
[all …]
Dip_set_hash_ip.c76 #define HOST_MASK 32 macro
145 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_ipmark.c76 #define HOST_MASK 32 macro
146 if (!cidr || cidr > HOST_MASK) in hash_ipmark4_uadt()
207 #undef HOST_MASK
210 #define HOST_MASK 128 macro
252 if (cidr != HOST_MASK) in hash_ipmark6_uadt()
Dip_set_hash_ipportip.c86 #define HOST_MASK 32 macro
171 if (!cidr || cidr > HOST_MASK) in hash_ipportip4_uadt()
252 #undef HOST_MASK
255 #define HOST_MASK 128 macro
301 if (cidr != HOST_MASK) in hash_ipportip6_uadt()
Dip_set_hash_ipport.c87 #define HOST_MASK 32 macro
175 if (!cidr || cidr > HOST_MASK) in hash_ipport4_uadt()
253 #undef HOST_MASK
256 #define HOST_MASK 128 macro
306 if (cidr != HOST_MASK) in hash_ipport6_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
183 #ifndef HOST_MASK
1232 if (DCIDR_GET(d->cidr, i) != HOST_MASK) in mtype_test()
1290 if (h->netmask == HOST_MASK && !nf_inet_addr_cmp(&onesmask, &h->bitmask)) { in mtype_head()
1301 if (h->netmask != HOST_MASK && nla_put_u8(skb, IPSET_ATTR_NETMASK, h->netmask)) in mtype_head()
/linux-6.6.21/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-6.6.21/include/video/
Dmach64.h1100 #define HOST_MASK 0xF0000 macro
/linux-6.6.21/drivers/net/ethernet/micrel/
Dksz884x.c998 #define HOST_MASK (1 << SWITCH_PORT_NUM) macro
2547 entry->ports = HOST_MASK; in sw_init_stp()
3876 HOST_MASK | (1 << port)); in sw_enable()
4955 member = HOST_MASK | sw->member; in bridge_change()
4957 member = HOST_MASK | (1 << port); in bridge_change()