rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef __NET_NS_HASH_H__ | ||||
3 | #define __NET_NS_HASH_H__ | ||||
4 | |||||
5 | #include <net/net_namespace.h> | ||||
6 | |||||
7 | static inline u32 net_hash_mix(const struct net *net) | ||||
8 | { | ||||
9 | return net->hash_mix; | ||||
10 | } | ||||
11 | #endif |