Searched refs:hwsim_net (Results 1 – 1 of 1) sorted by relevance
263 struct hwsim_net { struct270 struct hwsim_net *hwsim_net = net_generic(net, hwsim_net_id); in hwsim_net_get_netgroup() argument272 return hwsim_net->netgroup; in hwsim_net_get_netgroup()277 struct hwsim_net *hwsim_net = net_generic(net, hwsim_net_id); in hwsim_net_set_netgroup() local279 hwsim_net->netgroup = ida_simple_get(&hwsim_netgroup_ida, in hwsim_net_set_netgroup()281 return hwsim_net->netgroup >= 0 ? 0 : -ENOMEM; in hwsim_net_set_netgroup()286 struct hwsim_net *hwsim_net = net_generic(net, hwsim_net_id); in hwsim_net_get_wmediumd() local288 return hwsim_net->wmediumd; in hwsim_net_get_wmediumd()293 struct hwsim_net *hwsim_net = net_generic(net, hwsim_net_id); in hwsim_net_set_wmediumd() local295 hwsim_net->wmediumd = portid; in hwsim_net_set_wmediumd()[all …]