X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Futils%2Flnetconfig%2Fliblnetconfig.h;h=bea08c5d9ee73bcc2d54543fe0f2418d5aeb02d9;hp=f7bc7c1ec25e96f440ec56e1d0318a77c605496c;hb=70149f4ea89aa9f5c002b63f56d0c98afcafbad9;hpb=63e17799a369e2ff0b140fd41dc5d7d8656d2bf0 diff --git a/lnet/utils/lnetconfig/liblnetconfig.h b/lnet/utils/lnetconfig/liblnetconfig.h index f7bc7c1..bea08c5 100644 --- a/lnet/utils/lnetconfig/liblnetconfig.h +++ b/lnet/utils/lnetconfig/liblnetconfig.h @@ -820,6 +820,16 @@ int yaml_parser_set_input_netlink(yaml_parser_t *parser, struct nl_sock *nl, bool stream); /** + * yaml_parser_get_reader_proto_version + * + * This function retrieves the Neltink version the kernel module + * is set to. + * + * parser - YAML parser being used for Netlink communication. + */ +int yaml_parser_get_reader_proto_version(yaml_parser_t *parser); + +/** * yaml_parser_get_reader_error * * By default libyaml reports a generic write error. We need a way