sys/dev/xen/netfront/netfront.c
/**
 * We are reconnecting to the backend, due to a suspend/resume, or a backend
 * driver restart.  We tear down our netif structure and recreate it, but
 * leave the device-layer structures intact so that this is transparent to the
 * rest of the kernel.
 */
We are reconnecting to the backend, due to a suspend/resume, or a backend
driver restart.  We tear down our netif structure and recreate it, but
leave the device-layer structures intact so that this is transparent to the
rest of the kernel.
We are reconnecting to the backend due to a suspend / resume or a backend driver restart . We tear down our netif structure and recreate it but leave the device - layer structures intact so that this is transparent to the rest of the kernel .
static int
netfront_resume(device_t dev)
{
	struct netfront_info *info = device_get_softc(dev);
	netif_disconnect_backend(info);
	return (0);
}
static int netfront_resume ( device_t dev ) { struct netfront_info * info = device_get_softc ( dev ) ; netif_disconnect_backend ( info ) ; return ( 0 ) ; }
We are reconnecting to the backend, due to a suspend/resume, or a backend
 driver restart.
We are reconnecting to the backend due to a suspend / resume or a backend driver restart .