Searched refs:HASH (Results 1 – 5 of 5) sorted by relevance
120 #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF) macro142 unsigned h0 = HASH(remote); in ipip_tunnel_lookup()143 unsigned h1 = HASH(local); in ipip_tunnel_lookup()175 h ^= HASH(remote); in __ipip_bucket()179 h ^= HASH(local); in __ipip_bucket()
156 #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF) macro171 unsigned h0 = HASH(remote); in ipgre_tunnel_lookup()172 unsigned h1 = HASH(key); in ipgre_tunnel_lookup()237 unsigned h = HASH(key); in __ipgre_bucket()244 h ^= HASH(remote); in __ipgre_bucket()
63 #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF) macro85 unsigned h0 = HASH(remote); in ipip6_tunnel_lookup()86 unsigned h1 = HASH(local); in ipip6_tunnel_lookup()118 h ^= HASH(remote); in __ipip6_bucket()122 h ^= HASH(local); in __ipip6_bucket()
73 #define HASH(addr) ((__force u32)((addr)->s6_addr32[0] ^ (addr)->s6_addr32[1] ^ \ macro136 unsigned h0 = HASH(remote); in ip6_tnl_lookup()137 unsigned h1 = HASH(local); in ip6_tnl_lookup()174 h = HASH(remote) ^ HASH(local); in ip6_tnl_bucket()
1419 #define HASH(ch) (ch & (LEC_ARP_TABLE_SIZE -1)) macro1471 tmp = &priv->lec_arp_tables[HASH(entry->mac_addr[ETH_ALEN - 1])]; in lec_arp_add()1742 head = &priv->lec_arp_tables[HASH(mac_addr[ETH_ALEN - 1])]; in lec_arp_find()