GIF89a; Mini Shell

Mini Shell

Direktori : /usr/lib/modules/3.10.0-957.21.3.el7.centos.plus.x86_64/source/include/net/netns/
Upload File :
Current File : //usr/lib/modules/3.10.0-957.21.3.el7.centos.plus.x86_64/source/include/net/netns/hash.h

#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

./BlackJoker Mini Shell 1.0