Lines Matching refs:hwsim_mon
199 static struct net_device *hwsim_mon; /* global monitor netdev */
342 if (!netif_running(hwsim_mon))
366 skb->dev = hwsim_mon;
384 if (!netif_running(hwsim_mon))
409 skb->dev = hwsim_mon;
1488 hwsim_mon = alloc_netdev(0, "hwsim%d", hwsim_mon_setup);
1489 if (hwsim_mon == NULL)
1494 err = dev_alloc_name(hwsim_mon, hwsim_mon->name);
1499 err = register_netdevice(hwsim_mon);
1509 free_netdev(hwsim_mon);
1528 unregister_netdev(hwsim_mon);