Searched refs:cfgid (Results 1 – 1 of 1) sorted by relevance
237 int rtnl_link_inet_get_conf(struct rtnl_link *link, const unsigned int cfgid, in rtnl_link_inet_get_conf() argument242 if (cfgid == 0 || cfgid > IPV4_DEVCONF_MAX) in rtnl_link_inet_get_conf()248 if (!id->i_confset[cfgid - 1]) in rtnl_link_inet_get_conf()250 *res = id->i_conf[cfgid - 1]; in rtnl_link_inet_get_conf()267 int rtnl_link_inet_set_conf(struct rtnl_link *link, const unsigned int cfgid, in rtnl_link_inet_set_conf() argument275 if (cfgid == 0 || cfgid > IPV4_DEVCONF_MAX) in rtnl_link_inet_set_conf()278 id->i_confset[cfgid - 1] = 1; in rtnl_link_inet_set_conf()279 id->i_conf[cfgid - 1] = value; in rtnl_link_inet_set_conf()