Home
last modified time | relevance | path

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

/smoltcp-0.9.1/src/iface/interface/
Digmp.rs34 self.inner.now = timestamp; in join_multicast_group()
39 .inner in join_multicast_group()
46 } else if let Some(pkt) = self.inner.igmp_report_packet(IgmpVersion::Version2, addr) in join_multicast_group()
54 self.inner in join_multicast_group()
82 self.inner.now = timestamp; in leave_multicast_group()
86 let was_not_present = self.inner.ipv4_multicast_groups.remove(&addr).is_none(); in leave_multicast_group()
89 } else if let Some(pkt) = self.inner.igmp_leave_packet(addr) { in leave_multicast_group()
96 self.inner in leave_multicast_group()
113 self.inner.has_multicast_group(addr) in has_multicast_group()
122 match self.inner.igmp_report_state { in igmp_egress()
[all …]
Dmod.rs223 inner: InterfaceInner, field
546 inner: InterfaceInner { in new()
580 &mut self.inner in context()
590 assert!(self.inner.caps.medium == Medium::Ethernet); in hardware_addr()
592 assert!(self.inner.caps.medium == Medium::Ieee802154); in hardware_addr()
596 self.inner.caps.medium == Medium::Ethernet in hardware_addr()
597 || self.inner.caps.medium == Medium::Ieee802154 in hardware_addr()
600 self.inner.hardware_addr.unwrap() in hardware_addr()
611 assert!(self.inner.caps.medium == Medium::Ethernet); in set_hardware_addr()
613 assert!(self.inner.caps.medium == Medium::Ieee802154); in set_hardware_addr()
[all …]
Dtests.rs172 .inner in test_no_icmp_no_unicast_ipv4()
203 assert_eq!(iface.inner.process_ipv6(&mut sockets, &frame), None); in test_no_icmp_no_unicast_ipv6()
255 .inner in test_icmp_error_no_payload()
272 .inner in test_local_subnet_broadcasts()
275 .inner in test_local_subnet_broadcasts()
284 .inner in test_local_subnet_broadcasts()
287 .inner in test_local_subnet_broadcasts()
290 .inner in test_local_subnet_broadcasts()
293 .inner in test_local_subnet_broadcasts()
302 .inner in test_local_subnet_broadcasts()
[all …]
/smoltcp-0.9.1/src/phy/
Dtracer.rs13 inner: D, field
19 pub fn new(inner: D, writer: fn(timestamp: Instant, packet: Packet)) -> Tracer<D> { in new()
20 Tracer { inner, writer } in new()
28 &self.inner in get_ref()
35 &mut self.inner in get_mut()
40 self.inner in into_inner()
53 self.inner.capabilities() in capabilities()
57 let medium = self.inner.capabilities().medium; in receive()
58 self.inner.receive(timestamp).map(|(rx_token, tx_token)| { in receive()
76 let medium = self.inner.capabilities().medium; in transmit()
[all …]
Dfuzz_injector.rs22 inner: D, field
30 pub fn new(inner: D, fuzz_tx: FTx, fuzz_rx: FRx) -> FuzzInjector<D, FTx, FRx> { in new()
32 inner, in new()
40 self.inner in into_inner()
57 let mut caps = self.inner.capabilities(); in capabilities()
65 self.inner.receive(timestamp).map(|(rx_token, tx_token)| { in receive()
79 self.inner.transmit(timestamp).map(|token| TxToken { in transmit()
Dfault_injector.rs95 inner: D, field
103 pub fn new(inner: D, seed: u32) -> FaultInjector<D> { in new()
105 inner, in new()
119 self.inner in into_inner()
205 let mut caps = self.inner.capabilities(); in capabilities()
213 let (rx_token, tx_token) = self.inner.receive(timestamp)?; in receive()
255 self.inner.transmit(timestamp).map(|token| TxToken { in transmit()
/smoltcp-0.9.1/src/iface/
Dsocket_set.rs13 inner: Option<Item<'a>>, field
17 pub const EMPTY: Self = Self { inner: None };
67 inner: Some(Item { meta, socket }), in add()
75 if slot.inner.is_none() { in add()
84 sockets.push(SocketStorage { inner: None }); in add()
97 match self.sockets[handle.0].inner.as_ref() { in get()
111 match self.sockets[handle.0].inner.as_mut() { in get_mut()
124 match self.sockets[handle.0].inner.take() { in remove()
142 self.sockets.iter().filter_map(|x| x.inner.as_ref()) in items()
147 self.sockets.iter_mut().filter_map(|x| x.inner.as_mut()) in items_mut()
/smoltcp-0.9.1/
DCHANGELOG.md127 - Expose inner `Device` in `PcapWriter` ([#524](https://github.com/smoltcp-rs/smoltcp/pull/524))