21 lines · 340 B · C
RawDownload
#ifndef __NET_NS_HASH_H__#define __NET_NS_HASH_H__ #include <asm/cache.h> struct net; static inline unsigned int net_hash_mix(struct net *net){#ifdef CONFIG_NET_NS	/*	 * shift this right to eliminate bits, that are	 * always zeroed	 */ 	return (unsigned)(((unsigned long)net) >> L1_CACHE_SHIFT);#else	return 0;#endif}#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t