libnl
3.2.13
Main Page
Related Pages
Modules
bonding.h
1
/*
2
* netlink/route/link/bonding.h Bonding Interface
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation version 2.1
7
* of the License.
8
*
9
* Copyright (c) 2011 Thomas Graf <tgraf@suug.ch>
10
*/
11
12
#ifndef NETLINK_LINK_BONDING_H_
13
#define NETLINK_LINK_BONDING_H_
14
15
#include <netlink/netlink.h>
16
#include <netlink/route/link.h>
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
extern
int
rtnl_link_bond_add
(
struct
nl_sock *,
const
char
*,
23
struct
rtnl_link
*);
24
25
extern
int
rtnl_link_bond_enslave_ifindex
(
struct
nl_sock *,
int
,
int
);
26
extern
int
rtnl_link_bond_enslave
(
struct
nl_sock *,
struct
rtnl_link
*,
27
struct
rtnl_link
*);
28
29
extern
int
rtnl_link_bond_release_ifindex
(
struct
nl_sock *,
int
);
30
extern
int
rtnl_link_bond_release
(
struct
nl_sock *,
struct
rtnl_link
*);
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
37
include
netlink
route
link
bonding.h
Generated on Wed Oct 10 2012 05:26:43 for libnl by
1.8.1.1