/smoltcp-0.9.1/src/phy/ |
D | fuzz_injector.rs | 52 type TxToken<'a> = TxToken<'a, D::TxToken<'a>, FTx> typedef 64 fn receive(&mut self, timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> { in receive() 70 let tx = TxToken { in receive() 78 fn transmit(&mut self, timestamp: Instant) -> Option<Self::TxToken<'_>> { in transmit() 79 self.inner.transmit(timestamp).map(|token| TxToken { in transmit() 105 pub struct TxToken<'a, Tx: phy::TxToken, F: Fuzzer + 'a> { struct 110 impl<'a, Tx: phy::TxToken, FTx: Fuzzer> phy::TxToken for TxToken<'a, Tx, FTx> { implementation
|
D | loopback.rs | 30 type TxToken<'a> = TxToken<'a>; typedef 40 fn receive(&mut self, _timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> { in receive() 43 let tx = TxToken { in receive() 50 fn transmit(&mut self, _timestamp: Instant) -> Option<Self::TxToken<'_>> { in transmit() 51 Some(TxToken { in transmit() 73 pub struct TxToken<'a> { struct 77 impl<'a> phy::TxToken for TxToken<'a> { argument
|
D | tracer.rs | 48 type TxToken<'a> = TxToken<D::TxToken<'a>> typedef 56 fn receive(&mut self, timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> { in receive() 65 let tx = TxToken { in receive() 75 fn transmit(&mut self, timestamp: Instant) -> Option<Self::TxToken<'_>> { in transmit() 77 self.inner.transmit(timestamp).map(|tx_token| TxToken { in transmit() 114 pub struct TxToken<Tx: phy::TxToken> { struct 121 impl<Tx: phy::TxToken> phy::TxToken for TxToken<Tx> { argument
|
D | tuntap_interface.rs | 44 type TxToken<'a> = TxToken; typedef 54 fn receive(&mut self, _timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> { in receive() 61 let tx = TxToken { in receive() 71 fn transmit(&mut self, _timestamp: Instant) -> Option<Self::TxToken<'_>> { in transmit() 72 Some(TxToken { in transmit() 93 pub struct TxToken { struct 97 impl phy::TxToken for TxToken { argument
|
D | raw_socket.rs | 60 type TxToken<'a> = TxToken typedef 72 fn receive(&mut self, _timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> { in receive() 79 let tx = TxToken { in receive() 89 fn transmit(&mut self, _timestamp: Instant) -> Option<Self::TxToken<'_>> { in transmit() 90 Some(TxToken { in transmit() 111 pub struct TxToken { struct 115 impl phy::TxToken for TxToken { implementation
|
D | pcap_writer.rs | 171 type TxToken<'a> = TxToken<'a, D::TxToken<'a>, S> typedef 179 fn receive(&mut self, timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> { in receive() 191 let tx = TxToken { in receive() 201 fn transmit(&mut self, timestamp: Instant) -> Option<Self::TxToken<'_>> { in transmit() 204 self.lower.transmit(timestamp).map(move |token| TxToken { in transmit() 237 pub struct TxToken<'a, Tx: phy::TxToken, S: PcapSink> { struct 244 impl<'a, Tx: phy::TxToken, S: PcapSink> phy::TxToken for TxToken<'a, Tx, S> { argument
|
D | fault_injector.rs | 200 type TxToken<'a> = TxToken<'a, D::TxToken<'a>> typedef 212 fn receive(&mut self, timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> { in receive() 244 let tx = TxToken { in receive() 254 fn transmit(&mut self, timestamp: Instant) -> Option<Self::TxToken<'_>> { in transmit() 255 self.inner.transmit(timestamp).map(|token| TxToken { in transmit() 280 pub struct TxToken<'a, Tx: phy::TxToken> { struct 288 impl<'a, Tx: phy::TxToken> phy::TxToken for TxToken<'a, Tx> { argument
|
D | mod.rs | 308 type TxToken<'a>: TxToken typedef 321 fn receive(&mut self, timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)>; in receive() 327 fn transmit(&mut self, timestamp: Instant) -> Option<Self::TxToken<'_>>; in transmit() 345 pub trait TxToken { interface
|
/smoltcp-0.9.1/src/iface/interface/ |
D | ethernet.rs | 9 use crate::phy::TxToken; 59 Tx: TxToken, in dispatch_ethernet() argument
|
D | sixlowpan.rs | 4 use crate::phy::TxToken; 261 pub(super) fn dispatch_ieee802154<Tx: TxToken>( in dispatch_ieee802154() 544 pub(super) fn dispatch_ieee802154_frag<Tx: TxToken>( in dispatch_ieee802154_frag()
|
D | ipv4.rs | 9 use crate::phy::{Medium, TxToken}; 333 pub(super) fn dispatch_ipv4_frag<Tx: TxToken>(&mut self, tx_token: Tx, frag: &mut Fragmenter) { in dispatch_ipv4_frag()
|
D | mod.rs | 38 use crate::phy::{ChecksumCapabilities, Device, DeviceCapabilities, Medium, RxToken, TxToken}; 1462 Tx: TxToken, in dispatch() argument 1533 Tx: TxToken, in lookup_hardware_addr() argument 1671 fn dispatch_ip<Tx: TxToken>( in dispatch_ip()
|
D | tests.rs | 125 impl TxToken for MockTxToken {
|