17#include "nl-default.h"
19#include <netlink/netlink.h>
20#include <netlink/route/link/team.h>
94static void _nl_init team_init(
void)
99static void _nl_exit team_exit(
void)
int rtnl_link_register_info(struct rtnl_link_info_ops *ops)
Register operations for a link info type.
int rtnl_link_unregister_info(struct rtnl_link_info_ops *ops)
Unregister operations for a link info type.
int rtnl_link_add(struct nl_sock *sk, struct rtnl_link *link, int flags)
Add virtual link.
struct rtnl_link * rtnl_link_alloc(void)
Allocate link object.
void rtnl_link_set_name(struct rtnl_link *link, const char *name)
Set name of link object.
char * rtnl_link_get_name(struct rtnl_link *link)
Return name of link object.
void rtnl_link_put(struct rtnl_link *link)
Release a link object reference.
int rtnl_link_set_type(struct rtnl_link *link, const char *type)
Set type of link object.
struct rtnl_link * rtnl_link_team_alloc(void)
Allocate link object of type team.
int rtnl_link_team_add(struct nl_sock *sock, const char *name, struct rtnl_link *opts)
Create a new kernel team device.
Available operations to modules implementing a link info type.
char * io_name
Name of link info type, must match name on kernel side.