1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NET_NS_HASH_H__
3 #define __NET_NS_HASH_H__
9 static inline u32 net_hash_mix(const struct net *net)
13 * shift this right to eliminate bits, that are
17 return (u32)(((unsigned long)net) >> L1_CACHE_SHIFT);