Home
last modified time | relevance | path

Searched refs:cfgid (Results 1 – 1 of 1) sorted by relevance

/external/libnl/lib/route/link/
Dinet.c238 int rtnl_link_inet_get_conf(struct rtnl_link *link, const unsigned int cfgid, in rtnl_link_inet_get_conf() argument
243 if (cfgid == 0 || cfgid > IPV4_DEVCONF_MAX) in rtnl_link_inet_get_conf()
249 if (!id->i_confset[cfgid - 1]) in rtnl_link_inet_get_conf()
251 *res = id->i_conf[cfgid - 1]; in rtnl_link_inet_get_conf()
268 int rtnl_link_inet_set_conf(struct rtnl_link *link, const unsigned int cfgid, in rtnl_link_inet_set_conf() argument
276 if (cfgid == 0 || cfgid > IPV4_DEVCONF_MAX) in rtnl_link_inet_set_conf()
279 id->i_confset[cfgid - 1] = 1; in rtnl_link_inet_set_conf()
280 id->i_conf[cfgid - 1] = value; in rtnl_link_inet_set_conf()