• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * include/netlink-private/route/link/sriov.h      SRIOV VF Info
3  *
4  *     This library is free software; you can redistribute it and/or
5  *     modify it under the terms of the GNU Lesser General Public
6  *     License as published by the Free Software Foundation version 2.1
7  *     of the License.
8  *
9  * Copyright (c) 2016 Intel Corp. All rights reserved.
10  * Copyright (c) 2016 Jef Oliver <jef.oliver@intel.com>
11  */
12 
13 #ifndef NETLINK_PRIV_LINK_SRIOV_H_
14 #define NETLINK_PRIV_LINK_SRIOV_H_
15 
16 #include <netlink/netlink.h>
17 #include <netlink/route/link/sriov.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 extern int rtnl_link_sriov_clone(struct rtnl_link *, struct rtnl_link *);
24 extern void rtnl_link_sriov_dump_details(struct rtnl_link *, struct nl_dump_params *);
25 extern void rtnl_link_sriov_dump_stats(struct rtnl_link *, struct nl_dump_params *);
26 extern int rtnl_link_sriov_fill_vflist(struct nl_msg *, struct rtnl_link *);
27 extern void rtnl_link_sriov_free_data(struct rtnl_link *);
28 extern int rtnl_link_sriov_parse_vflist(struct rtnl_link *, struct nlattr **);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif
35