Whamcloud - gitweb
LU-8901 misc: update Intel copyright messages for 2016
[fs/lustre-release.git] / lnet / utils / lnetconfig / liblnd.h
1 /*
2  * LGPL HEADER START
3  *
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as
8  * published by the Free Software Foundation; either version 2.1 of the
9  * License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18  *
19  * LGPL HEADER END
20  *
21  * Copyright (c) 2015, James Simmons <jsimmons@infradead.org>
22  *
23  * Copyright (c) 2016, Intel Corporation.
24  */
25
26 #ifndef LIB_LND_CONFIG_API_H
27 #define LIB_LND_CONFIG_API_H
28
29 #include <lnet/lib-dlc.h>
30 #include "cyaml.h"
31
32 int
33 lustre_interface_show_net(struct cYAML *interfaces, unsigned int index,
34                           bool detail, struct lnet_ioctl_config_data *data,
35                           struct lnet_ioctl_net_config *net_config);
36
37 void
38 lustre_interface_parse(struct cYAML *lndparams, const char *dev_name,
39                        struct lnet_ioctl_config_lnd_tunables *lnd_cfg);
40
41 #endif /* LIB_LND_CONFIG_API_H */