• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * netlink/route/link/inet.h	INET Link Module
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) 2010 Thomas Graf <tgraf@suug.ch>
10  */
11 
12 #ifndef NETLINK_LINK_INET_H_
13 #define NETLINK_LINK_INET_H_
14 
15 #include <netlink/netlink.h>
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 extern const char *	rtnl_link_inet_devconf2str(int, char *, size_t);
22 extern int		rtnl_link_inet_str2devconf(const char *);
23 
24 extern int		rtnl_link_inet_get_conf(struct rtnl_link *,
25 						const unsigned int, uint32_t *);
26 extern int		rtnl_link_inet_set_conf(struct rtnl_link *,
27 						const unsigned int, uint32_t);
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
33 #endif
34