1 /* SPDX-License-Identifier: LGPL-2.1-only */ 2 /* 3 * Copyright (c) 2016 Intel Corp. All rights reserved. 4 * Copyright (c) 2016 Jef Oliver <jef.oliver@intel.com> 5 */ 6 7 #ifndef NETLINK_PRIV_LINK_SRIOV_H_ 8 #define NETLINK_PRIV_LINK_SRIOV_H_ 9 10 #include <netlink/netlink.h> 11 #include <netlink/route/link/sriov.h> 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 extern int rtnl_link_sriov_clone(struct rtnl_link *, struct rtnl_link *); 18 extern void rtnl_link_sriov_dump_details(struct rtnl_link *, struct nl_dump_params *); 19 extern void rtnl_link_sriov_dump_stats(struct rtnl_link *, struct nl_dump_params *); 20 extern int rtnl_link_sriov_fill_vflist(struct nl_msg *, struct rtnl_link *); 21 extern void rtnl_link_sriov_free_data(struct rtnl_link *); 22 extern int rtnl_link_sriov_parse_vflist(struct rtnl_link *, struct nlattr **); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif 29