libnl 3.10.0
inet.h
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#include <netlink/route/link.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16extern const char * rtnl_link_inet_devconf2str(int, char *, size_t);
17extern int rtnl_link_inet_str2devconf(const char *);
18
19extern int rtnl_link_inet_get_conf(struct rtnl_link *,
20 const unsigned int, uint32_t *);
21extern int rtnl_link_inet_set_conf(struct rtnl_link *,
22 const unsigned int, uint32_t);
23
24#ifdef __cplusplus
25}
26#endif
27
28#endif