Whamcloud - gitweb
LU-10391 lnet: migrate peer NI control to Netlink
[fs/lustre-release.git] / lnet / utils / lnetconfig / liblnetconfig.h
index d7c8acc..d33b92b 100644 (file)
@@ -788,6 +788,16 @@ int lustre_yaml_show(char *f, struct cYAML **show_rc,
 int lustre_yaml_exec(char *f, struct cYAML **show_rc,
                     struct cYAML **err_rc);
 
+struct nid_node {
+       char nidstr[LNET_MAX_STR_LEN * 2];
+       struct nl_list_head children;
+       struct nl_list_head list;
+};
+
+int lustre_lnet_parse_nid_range(struct nid_node *head, char *nidstr,
+                               const char **errmsg);
+void lustre_lnet_free_list(struct nid_node *head);
+
 /**
  * yaml_emitter_set_output_netlink
  *