#ifndef __NET_NS_HASH_H__ #define __NET_NS_HASH_H__ #include struct net; static inline u32 net_hash_mix(const struct net *net) { #ifdef CONFIG_NET_NS /* * shift this right to eliminate bits, that are * always zeroed */ return (u32)(((unsigned long)net) >> L1_CACHE_SHIFT); #else return 0; #endif } #endif lication/atom+xml'/>
summaryrefslogtreecommitdiff
p;id=295a6e06d21e1f469c9f38b00125a13b60ad4e7c&showmsg=1'>Expand)
AgeCommit message (Expand)AuthorFilesLines
AuthorFilesLines