• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3  * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch>
4  */
5 
6 #ifndef NETLINK_LINK_INET_H_
7 #define NETLINK_LINK_INET_H_
8 
9 #include <netlink/netlink.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 extern const char *	rtnl_link_inet_devconf2str(int, char *, size_t);
16 extern int		rtnl_link_inet_str2devconf(const char *);
17 
18 extern int		rtnl_link_inet_get_conf(struct rtnl_link *,
19 						const unsigned int, uint32_t *);
20 extern int		rtnl_link_inet_set_conf(struct rtnl_link *,
21 						const unsigned int, uint32_t);
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif
28