blob: d9b665151f3d9e916f35620141542a5a145e6123 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __NET_NS_HASH_H__
3#define __NET_NS_HASH_H__
4
David Brazdil0f672f62019-12-10 10:32:29 +00005#include <net/net_namespace.h>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00006
7static inline u32 net_hash_mix(const struct net *net)
8{
David Brazdil0f672f62019-12-10 10:32:29 +00009 return net->hash_mix;
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000010}
11#endif