summaryrefslogtreecommitdiffstats
path: root/include/net/netns/hash.h
blob: 31441b7f57997062f9a034102dcc956b3f2ba3bd (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef __NET_NS_HASH_H__
#define __NET_NS_HASH_H__

#include <net/net_namespace.h>

static inline unsigned int net_hash_mix(struct net *net)
{
	return net->hash_mix;
}
#endif