Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/net/
Dvirtio_net.rs128 pub struct VirtioNetToken<T: Transport> { struct
133 impl<'a, T: Transport> VirtioNetToken<T> { argument
143 type RxToken<'a> = VirtioNetToken<T> where Self: 'a;
144 type TxToken<'a> = VirtioNetToken<T> where Self: 'a;
152 VirtioNetToken::new(self.clone(), Some(buf)), in receive()
153 VirtioNetToken::new(self.clone(), None), in receive()
164 return Some(VirtioNetToken::new(self.clone(), None)); in transmit()
185 impl<T: Transport> phy::TxToken for VirtioNetToken<T> { implementation
200 impl<T: Transport> phy::RxToken for VirtioNetToken<T> { implementation