libnl
3.2.3
|
00001 /* 00002 * netlink/route/link/inet.h INET Link Module 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation version 2.1 00007 * of the License. 00008 * 00009 * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> 00010 */ 00011 00012 #ifndef NETLINK_LINK_INET_H_ 00013 #define NETLINK_LINK_INET_H_ 00014 00015 #include <netlink/netlink.h> 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00021 extern const char * rtnl_link_inet_devconf2str(int, char *, size_t); 00022 extern int rtnl_link_inet_str2devconf(const char *); 00023 00024 extern int rtnl_link_inet_get_conf(struct rtnl_link *, 00025 const unsigned int, uint32_t *); 00026 extern int rtnl_link_inet_set_conf(struct rtnl_link *, 00027 const unsigned int, uint32_t); 00028 00029 #endif