Home
last modified time | relevance | path

Searched refs:HASH (Results 1 – 5 of 5) sorted by relevance

/net/ipv4/
Dipip.c120 #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF) macro
142 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()
Dip_gre.c156 #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF) macro
171 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()
/net/ipv6/
Dsit.c63 #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF) macro
85 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()
Dip6_tunnel.c73 #define HASH(addr) ((__force u32)((addr)->s6_addr32[0] ^ (addr)->s6_addr32[1] ^ \ macro
136 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()
/net/atm/
Dlec.c1419 #define HASH(ch) (ch & (LEC_ARP_TABLE_SIZE -1)) macro
1471 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()