libnl 3.7.0
|
Implementation of IPv4 specific link attributes. More...
Functions | |
const char * | rtnl_link_inet_devconf2str (int type, char *buf, size_t len) |
int | rtnl_link_inet_str2devconf (const char *name) |
int | rtnl_link_inet_get_conf (struct rtnl_link *link, const unsigned int cfgid, uint32_t *res) |
Get value of a ipv4 link configuration setting. More... | |
int | rtnl_link_inet_set_conf (struct rtnl_link *link, const unsigned int cfgid, uint32_t value) |
Change value of a ipv4 link configuration setting. More... | |
Implementation of IPv4 specific link attributes.
const char * rtnl_link_inet_devconf2str | ( | int | type, |
char * | buf, | ||
size_t | len | ||
) |
int rtnl_link_inet_get_conf | ( | struct rtnl_link * | link, |
const unsigned int | cfgid, | ||
uint32_t * | res | ||
) |
Get value of a ipv4 link configuration setting.
link | Link object |
cfgid | Configuration identifier |
res | Result pointer |
Stores the value of the specified configuration setting in the provided result pointer.
Definition at line 232 of file inet.c.
References rtnl_link_af_data().
int rtnl_link_inet_set_conf | ( | struct rtnl_link * | link, |
const unsigned int | cfgid, | ||
uint32_t | value | ||
) |
Change value of a ipv4 link configuration setting.
link | Link object |
cfgid | Configuration identifier |
value | New value |
Changes the value in the per link ipv4 configuration array.
Definition at line 262 of file inet.c.
References rtnl_link_af_alloc().