Home
last modified time | relevance | path

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

/net/ipv6/
A Dip6_vti.c54 static u32 HASH(const struct in6_addr *addr1, const struct in6_addr *addr2) in HASH() function
93 unsigned int hash = HASH(remote, local); in vti6_tnl_lookup()
106 hash = HASH(&any, local); in vti6_tnl_lookup()
113 hash = HASH(remote, &any); in vti6_tnl_lookup()
148 h = HASH(remote, local); in vti6_tnl_bucket()
A Dsit.c64 #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF) macro
103 unsigned int h0 = HASH(remote); in ipip6_tunnel_lookup()
104 unsigned int h1 = HASH(local); in ipip6_tunnel_lookup()
147 h ^= HASH(remote); in __ipip6_bucket()
151 h ^= HASH(local); in __ipip6_bucket()
A Dip6_tunnel.c72 static u32 HASH(const struct in6_addr *addr1, const struct in6_addr *addr2) in HASH() function
119 unsigned int hash = HASH(remote, local); in ip6_tnl_lookup()
137 hash = HASH(&any, local); in ip6_tnl_lookup()
150 hash = HASH(remote, &any); in ip6_tnl_lookup()
199 h = HASH(remote, local); in ip6_tnl_bucket()
/net/atm/
A Dlec.c1237 #define HASH(ch) (ch & (LEC_ARP_TABLE_SIZE - 1)) macro
1294 tmp = &priv->lec_arp_tables[HASH(entry->mac_addr[ETH_ALEN - 1])]; in lec_arp_add()
1531 head = &priv->lec_arp_tables[HASH(mac_addr[ETH_ALEN - 1])]; in lec_arp_find()

Completed in 20 milliseconds