summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_nla.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/drbd/drbd_nla.h')
-rw-r--r--drivers/block/drbd/drbd_nla.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_nla.h b/drivers/block/drbd/drbd_nla.h
new file mode 100644
index 000000000..f5eaffb64
--- /dev/null
+++ b/drivers/block/drbd/drbd_nla.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DRBD_NLA_H
+#define __DRBD_NLA_H
+
+extern int drbd_nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla,
+ const struct nla_policy *policy);
+extern struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype);
+
+#endif /* __DRBD_NLA_H */