summaryrefslogtreecommitdiff
path: root/fs/cifs/netlink.h
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@suse.de>2020-11-30 19:02:49 +0100
committerSteve French <stfrench@microsoft.com>2020-12-14 09:16:22 -0600
commit06f08dab3ca726b86431889495c45049616d6a15 (patch)
tree8d240117601a09d87dd9d5e00d8f4aa87f516d7a /fs/cifs/netlink.h
parent047092ffe2b1774ab456e0eff0e40e0eb4b6600e (diff)
cifs: Register generic netlink family
Register a new generic netlink family to talk to the witness service userspace daemon. Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/netlink.h')
-rw-r--r--fs/cifs/netlink.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/fs/cifs/netlink.h b/fs/cifs/netlink.h
new file mode 100644
index 000000000000..e2fa8ed24c54
--- /dev/null
+++ b/fs/cifs/netlink.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Netlink routines for CIFS
+ *
+ * Copyright (c) 2020 Samuel Cabrero <scabrero@suse.de>
+ */
+
+#ifndef _CIFS_NETLINK_H
+#define _CIFS_NETLINK_H
+
+extern struct genl_family cifs_genl_family;
+
+extern int cifs_genl_init(void);
+extern void cifs_genl_exit(void);
+
+#endif /* _CIFS_NETLINK_H */