/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_netnet.c | 132 #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 …]
|
H A D | ip_set_hash_netportnet.c | 140 #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 …]
|
H A D | ip_set_hash_net.c | 109 #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 …]
|
H A D | ip_set_hash_ipportnet.c | 130 #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 …]
|
H A D | ip_set_hash_netiface.c | 136 #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 …]
|
H A D | ip_set_hash_netport.c | 125 #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 …]
|
H A D | ip_set_hash_ipmark.c | 76 #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()
|
H A D | ip_set_hash_ip.c | 76 #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()
|
H A D | ip_set_hash_ipportip.c | 86 #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()
|
H A D | ip_set_hash_ipport.c | 87 #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()
|
H A D | ip_set_hash_ipmac.c | 79 #define HOST_MASK 32 macro 186 #undef HOST_MASK 191 #define HOST_MASK 128 macro
|
H A D | ip_set_bitmap_ipmac.c | 35 #define HOST_MASK 32 macro 344 if (cidr >= HOST_MASK) in bitmap_ipmac_create()
|
H A D | ip_set_hash_mac.c | 66 #define HOST_MASK 32 macro
|
H A D | ip_set_hash_gen.h | 147 #define NLEN (HOST_MASK + 1) 151 #define NLEN HOST_MASK 184 #ifndef HOST_MASK 1233 if (DCIDR_GET(d->cidr, i) != HOST_MASK) in mtype_test() 1291 if (h->netmask == HOST_MASK && !nf_inet_addr_cmp(&onesmask, &h->bitmask)) { in mtype_head() 1302 if (h->netmask != HOST_MASK && nla_put_u8(skb, IPSET_ATTR_NETMASK, h->netmask)) in mtype_head()
|
/linux/drivers/video/fbdev/aty/ |
H A D | mach64_accel.c | 307 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/include/video/ |
H A D | mach64.h | 1100 #define HOST_MASK 0xF0000 macro
|
/linux/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 998 #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()
|