cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

genetlink.h (589B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __LINUX_GENERIC_NETLINK_H
      3#define __LINUX_GENERIC_NETLINK_H
      4
      5#include <uapi/linux/genetlink.h>
      6
      7
      8/* All generic netlink requests are serialized by a global lock.  */
      9extern void genl_lock(void);
     10extern void genl_unlock(void);
     11
     12/* for synchronisation between af_netlink and genetlink */
     13extern atomic_t genl_sk_destructing_cnt;
     14extern wait_queue_head_t genl_sk_destructing_waitq;
     15
     16#define MODULE_ALIAS_GENL_FAMILY(family)\
     17 MODULE_ALIAS_NET_PF_PROTO_NAME(PF_NETLINK, NETLINK_GENERIC, "-family-" family)
     18
     19#endif	/* __LINUX_GENERIC_NETLINK_H */