Searched refs:cfgid (Results 1 – 1 of 1) sorted by relevance
238 int rtnl_link_inet_get_conf(struct rtnl_link *link, const unsigned int cfgid, in rtnl_link_inet_get_conf() argument243 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() argument276 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()