Home
last modified time | relevance | path

Searched refs:VirtioNICDriver (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/net/
Dvirtio_net.rs23 pub struct VirtioNICDriver<T: Transport> { struct
27 impl<T: Transport> Clone for VirtioNICDriver<T> { implementation
29 return VirtioNICDriver { in clone()
38 struct VirtioNICDriverWrapper<T: Transport>(UnsafeCell<VirtioNICDriver<T>>);
43 type Target = VirtioNICDriver<T>;
55 fn force_get_mut(&self) -> &mut VirtioNICDriver<T> { in force_get_mut()
60 impl<T: Transport> Debug for VirtioNICDriver<T> { implementation
85 pub fn new(mut driver: VirtioNICDriver<T>) -> Arc<Self> { in new()
110 impl<T: 'static + Transport> VirtioNICDriver<T> { impl
123 let result = VirtioNICDriver { inner }; in new()
[all …]