]> Git Repo - linux.git/blob - include/linux/genetlink.h
svcrdma: Add Write chunk WRs to the RPC's Send WR chain
[linux.git] / include / linux / genetlink.h
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.  */
9 extern void genl_lock(void);
10 extern void genl_unlock(void);
11
12 /* for synchronisation between af_netlink and genetlink */
13 extern atomic_t genl_sk_destructing_cnt;
14 extern 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 */
This page took 0.033877 seconds and 4 git commands to generate.