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
13extern "C" {
14#endif
15
16extern struct rtnl_link *rtnl_link_team_alloc(void);
17
18extern 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
struct rtnl_link * rtnl_link_team_alloc(void)
Allocate link object of type team.
Definition: team.c:27
int rtnl_link_team_add(struct nl_sock *, const char *, struct rtnl_link *)
Create a new kernel team device.
Definition: team.c:66