Expose <netlink/route/link/inet.h>
This commit is contained in:
parent
36b04747c7
commit
4c6dd3a8bd
3 changed files with 3 additions and 2 deletions
|
@ -51,6 +51,7 @@ nobase_include_HEADERS = \
|
|||
netlink/route/cls/u32.h \
|
||||
netlink/route/link/api.h \
|
||||
netlink/route/link/info-api.h \
|
||||
netlink/route/link/inet.h \
|
||||
netlink/route/link/vlan.h \
|
||||
netlink/route/qdisc/cbq.h \
|
||||
netlink/route/qdisc/dsmark.h \
|
||||
|
|
|
@ -19,7 +19,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
extern const char * rtnl_link_inet_devconf2str(int, char *, size_t);
|
||||
extern unsigned int rtnl_link_inet_str2devconf(const char *);
|
||||
extern int rtnl_link_inet_str2devconf(const char *);
|
||||
|
||||
extern int rtnl_link_inet_get_conf(struct rtnl_link *,
|
||||
const unsigned int, uint32_t *);
|
||||
|
|
|
@ -166,7 +166,7 @@ const char *rtnl_link_inet_devconf2str(int type, char *buf, size_t len)
|
|||
ARRAY_SIZE(inet_devconf));
|
||||
}
|
||||
|
||||
unsigned int rtnl_link_inet_str2devconf(const char *name)
|
||||
int rtnl_link_inet_str2devconf(const char *name)
|
||||
{
|
||||
return __str2type(name, inet_devconf, ARRAY_SIZE(inet_devconf));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue