aboutsummaryrefslogtreecommitdiff
path: root/include/net/netns/hash.h
blob: d9b665151f3d9e916f35620141542a5a145e6123 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NET_NS_HASH_H__
#define __NET_NS_HASH_H__

#include <net/net_namespace.h>

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