libnl
3.9.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:29
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:68
rtnl_link
Link object.
Definition
nl-route.h:29
include
netlink
route
link
team.h
Generated on Mon Dec 4 2023 12:44:19 for libnl by
1.9.7