libnl
3.7.0
team.h
1
/* SPDX-License-Identifier: LGPL-2.1-only */
2
/*
3
* Copyright (c) 2015 Jonas Johansson <jonasj76@gmail.com>
4
*/
5
6
#ifndef NETLINK_LINK_TEAM_H_
7
#define NETLINK_LINK_TEAM_H_
8
9
#include <netlink/netlink.h>
10
#include <netlink/route/link.h>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
extern
struct
rtnl_link
*
rtnl_link_team_alloc
(
void
);
17
18
extern
int
rtnl_link_team_add
(
struct
nl_sock *,
const
char
*,
19
struct
rtnl_link
*);
20
21
#ifdef __cplusplus
22
}
23
#endif
24
25
#endif
26
rtnl_link_team_alloc
struct rtnl_link * rtnl_link_team_alloc(void)
Allocate link object of type team.
Definition:
team.c:27
rtnl_link_team_add
int rtnl_link_team_add(struct nl_sock *, const char *, struct rtnl_link *)
Create a new kernel team device.
Definition:
team.c:66
rtnl_link
Link object.
include
netlink
route
link
team.h
Generated on Mon Nov 7 2022 16:33:47 for libnl by
1.9.5