Lines Matching refs:hwsim_net
263 struct hwsim_net { struct
270 struct hwsim_net *hwsim_net = net_generic(net, hwsim_net_id); in hwsim_net_get_netgroup() argument
272 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() local
279 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() local
288 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() local
295 hwsim_net->wmediumd = portid; in hwsim_net_set_wmediumd()
4127 .size = sizeof(struct hwsim_net),