Searched refs:tx_token (Results 1 – 10 of 10) sorted by relevance
/smoltcp-0.9.1/src/iface/interface/ |
D | igmp.rs | 49 let tx_token = device in join_multicast_group() localVariable 55 .dispatch_ip(tx_token, pkt, &mut self.fragmenter) in join_multicast_group() 91 let tx_token = device in leave_multicast_group() localVariable 97 .dispatch_ip(tx_token, pkt, &mut self.fragmenter) in leave_multicast_group() 130 if let Some(tx_token) = device.transmit(self.inner.now) { in igmp_egress() 133 .dispatch_ip(tx_token, pkt, &mut self.fragmenter) in igmp_egress() 160 if let Some(tx_token) = device.transmit(self.inner.now) { in igmp_egress() 163 .dispatch_ip(tx_token, pkt, &mut self.fragmenter) in igmp_egress()
|
D | mod.rs | 838 while let Some((rx_token, tx_token)) = device.receive(self.inner.now) { in socket_ingress() 848 self.inner.dispatch(tx_token, packet, &mut self.fragmenter) in socket_ingress() 861 .dispatch_ip(tx_token, packet, &mut self.fragmenter) in socket_ingress() 875 .dispatch_ip(tx_token, packet, &mut self.fragmenter) in socket_ingress() 1003 if let Some(tx_token) = device.transmit(self.inner.now) { in ipv4_egress() 1005 .dispatch_ipv4_frag(tx_token, &mut self.fragmenter); in ipv4_egress() 1033 if let Some(tx_token) = device.transmit(self.inner.now) { in sixlowpan_egress() 1035 .dispatch_ieee802154_frag(tx_token, &mut self.fragmenter); in sixlowpan_egress() 1457 tx_token: Tx, in dispatch() 1474 self.dispatch_ethernet(tx_token, arp_repr.buffer_len(), |mut frame| { in dispatch() [all …]
|
D | ethernet.rs | 54 tx_token: Tx, in dispatch_ethernet() 63 tx_token.consume(tx_len, |tx_buffer| { in dispatch_ethernet()
|
D | sixlowpan.rs | 264 tx_token: Tx, in dispatch_ieee802154() 461 tx_token.consume(ieee_len + frag1.buffer_len() + frag1_size, |mut tx_buf| { in dispatch_ieee802154() 486 tx_token.consume(total_size + ieee_len, |mut tx_buf| { in dispatch_ieee802154() 546 tx_token: Tx, in dispatch_ieee802154_frag() 574 tx_token.consume( in dispatch_ieee802154_frag()
|
D | ipv4.rs | 333 pub(super) fn dispatch_ipv4_frag<Tx: TxToken>(&mut self, tx_token: Tx, frag: &mut Fragmenter) { in dispatch_ipv4_frag() 367 tx_token.consume(tx_len, |mut tx_buffer| { in dispatch_ipv4_frag()
|
D | tests.rs | 1171 let tx_token = device.transmit(timestamp).unwrap(); in test_handle_igmp() localVariable 1172 tx_token.consume(GENERAL_QUERY_BYTES.len(), |buffer| { in test_handle_igmp() 1514 let tx_token = device.transmit(Instant::now()).unwrap(); in test_echo_request_sixlowpan_128_bytes() localVariable 1517 tx_token, in test_echo_request_sixlowpan_128_bytes() 1651 let tx_token = device.transmit(Instant::now()).unwrap(); in test_sixlowpan_udp_with_fragmentation() localVariable 1654 tx_token, in test_sixlowpan_udp_with_fragmentation()
|
/smoltcp-0.9.1/src/phy/ |
D | tracer.rs | 58 self.inner.receive(timestamp).map(|(rx_token, tx_token)| { in receive() 66 token: tx_token, in receive() 77 self.inner.transmit(timestamp).map(|tx_token| TxToken { in transmit() 78 token: tx_token, in transmit()
|
D | fuzz_injector.rs | 65 self.inner.receive(timestamp).map(|(rx_token, tx_token)| { in receive() 72 token: tx_token, in receive()
|
D | pcap_writer.rs | 184 .map(move |(rx_token, tx_token)| { in receive() 192 token: tx_token, in receive()
|
D | fault_injector.rs | 213 let (rx_token, tx_token) = self.inner.receive(timestamp)?; in receive() 247 token: tx_token, in receive()
|