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 0000000000..d3555df0d3
--- /dev/null
+++ b/drivers/block/drbd/drbd_nla.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#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 */