diff options
Diffstat (limited to 'include/netlink-private/route/link/sriov.h')
-rw-r--r-- | include/netlink-private/route/link/sriov.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/netlink-private/route/link/sriov.h b/include/netlink-private/route/link/sriov.h new file mode 100644 index 00000000..ac653ed1 --- /dev/null +++ b/include/netlink-private/route/link/sriov.h @@ -0,0 +1,34 @@ +/* + * include/netlink-private/route/link/sriov.h SRIOV VF Info + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation version 2.1 + * of the License. + * + * Copyright (c) 2016 Intel Corp. All rights reserved. + * Copyright (c) 2016 Jef Oliver <jef.oliver@intel.com> + */ + +#ifndef NETLINK_PRIV_LINK_SRIOV_H_ +#define NETLINK_PRIV_LINK_SRIOV_H_ + +#include <netlink/netlink.h> +#include <netlink/route/link/sriov.h> + +#ifdef __cplusplus +extern "C" { +#endif + +extern int rtnl_link_sriov_clone(struct rtnl_link *, struct rtnl_link *); +extern void rtnl_link_sriov_dump_details(struct rtnl_link *, struct nl_dump_params *); +extern void rtnl_link_sriov_dump_stats(struct rtnl_link *, struct nl_dump_params *); +extern int rtnl_link_sriov_fill_vflist(struct nl_msg *, struct rtnl_link *); +extern void rtnl_link_sriov_free_data(struct rtnl_link *); +extern int rtnl_link_sriov_parse_vflist(struct rtnl_link *, struct nlattr **); + +#ifdef __cplusplus +} +#endif + +#endif |