libnl: /data/src/libnl/include/netlink/route/link/team.h Source File

libnl 3.12.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
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