libnl
1.1
Main Page
Modules
Data Structures
Files
File List
include
netlink
genl
ctrl.h
1
/*
2
* netlink/genl/ctrl.h Generic Netlink Controller
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) 2003-2006 Thomas Graf <tgraf@suug.ch>
10
*/
11
12
#ifndef NETLINK_GENL_CTRL_H_
13
#define NETLINK_GENL_CTRL_H_
14
15
#include <netlink/netlink.h>
16
#include <netlink/cache.h>
17
#include <netlink/addr.h>
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
struct
genl_family;
24
25
extern
struct
nl_cache * genl_ctrl_alloc_cache(
struct
nl_handle *);
26
extern
struct
genl_family *
genl_ctrl_search
(
struct
nl_cache *,
int
);
27
extern
struct
genl_family *
genl_ctrl_search_by_name
(
struct
nl_cache *,
28
const
char
*);
29
extern
int
genl_ctrl_resolve
(
struct
nl_handle *,
30
const
char
*);
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
Generated on Mon Mar 14 2016 11:21:51 for libnl by
1.8.1.2