hash.h 212 B

123456789101112
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __NET_NS_HASH_H__
  3. #define __NET_NS_HASH_H__
  4. #include <net/net_namespace.h>
  5. static inline u32 net_hash_mix(const struct net *net)
  6. {
  7. return net->hash_mix;
  8. }
  9. #endif