Home
last modified time | relevance | path

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

/smoltcp-0.9.1/src/iface/interface/
Digmp.rs49 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()
Dmod.rs838 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 …]
Dethernet.rs54 tx_token: Tx, in dispatch_ethernet()
63 tx_token.consume(tx_len, |tx_buffer| { in dispatch_ethernet()
Dsixlowpan.rs264 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()
Dipv4.rs333 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()
Dtests.rs1171 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/
Dtracer.rs58 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()
Dfuzz_injector.rs65 self.inner.receive(timestamp).map(|(rx_token, tx_token)| { in receive()
72 token: tx_token, in receive()
Dpcap_writer.rs184 .map(move |(rx_token, tx_token)| { in receive()
192 token: tx_token, in receive()
Dfault_injector.rs213 let (rx_token, tx_token) = self.inner.receive(timestamp)?; in receive()
247 token: tx_token, in receive()