repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
12 lines
212 B
C
12 lines
212 B
C
/* 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
|