Repository URL to install this package:
| 
      
        
        
        Version: 
        
         
          
          4.9.40-1  ▾
        
         | 
| 
    
    linux-headers-4.9.40-rt30-realtime
  
    /
        
    usr
  
        /
        
    src
  
        /
        
    linux-headers-4.9.40-rt30-realtime
  
        /
        
    include
  
        /
        
    net
  
        /
        
    netns
  
        /
        hash.h
   | 
|---|
#ifndef __NET_NS_HASH_H__
#define __NET_NS_HASH_H__
#include <asm/cache.h>
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