Searched refs:storage (Results 1 – 10 of 10) sorted by relevance
/smoltcp-0.9.1/src/storage/ |
D | ring_buffer.rs | 8 use crate::storage::Resettable; 28 storage: ManagedSlice<'a, T>, field 37 pub fn new<S>(storage: S) -> RingBuffer<'a, T> in new() 42 storage: storage.into(), in new() 56 self.storage.len() in capacity() 65 for elem in self.storage.iter_mut() { in reset() 128 let res = f(&mut self.storage[index]); in enqueue_one_with() 154 let res = f(&mut self.storage[self.read_at]); in dequeue_one_with() 193 let (size, result) = f(&mut self.storage[write_at..write_at + max_size]); in enqueue_many_with() 245 let (size, result) = f(&mut self.storage[self.read_at..self.read_at + max_size]); in dequeue_many_with() [all …]
|
D | packet_buffer.rs | 3 use crate::storage::{Full, RingBuffer};
|
/smoltcp-0.9.1/src/iface/ |
D | route.rs | 60 storage: Vec<Route, IFACE_MAX_ROUTE_COUNT>, field 67 storage: Vec::new(), in new() 73 f(&mut self.storage); in update() 85 self.storage in add_default_ipv4_route() 100 self.storage in add_default_ipv6_route() 112 .storage in remove_default_ipv4_route() 117 Some(self.storage.remove(i)) in remove_default_ipv4_route() 129 .storage in remove_default_ipv6_route() 134 Some(self.storage.remove(i)) in remove_default_ipv6_route() 143 self.storage in lookup() [all …]
|
D | neighbor.rs | 47 storage: LinearMap<IpAddress, Neighbor, IFACE_NEIGHBOR_CACHE_COUNT>, field 61 storage: LinearMap::new(), in new() 79 match self.storage.insert(protocol_addr, neighbor) { in fill() 96 .storage in fill() 102 let _old_neighbor = self.storage.remove(&old_protocol_addr).unwrap(); in fill() 103 match self.storage.insert(protocol_addr, neighbor) { in fill() 126 }) = self.storage.get(protocol_addr) in lookup() 145 self.storage.clear() in flush()
|
D | fragmentation.rs | 8 use crate::storage::Assembler;
|
/smoltcp-0.9.1/src/ |
D | lib.rs | 165 pub mod storage; module
|
/smoltcp-0.9.1/src/socket/ |
D | udp.rs | 9 use crate::storage::Empty; 13 pub type PacketMetadata = crate::storage::PacketMetadata<IpEndpoint>; 16 pub type PacketBuffer<'a> = crate::storage::PacketBuffer<'a, IpEndpoint>;
|
D | raw.rs | 10 use crate::storage::Empty; 40 pub type PacketMetadata = crate::storage::PacketMetadata<()>; 43 pub type PacketBuffer<'a> = crate::storage::PacketBuffer<'a, ()>;
|
D | icmp.rs | 10 use crate::storage::Empty; 66 pub type PacketMetadata = crate::storage::PacketMetadata<IpAddress>; 69 pub type PacketBuffer<'a> = crate::storage::PacketBuffer<'a, IpAddress>;
|
D | tcp.rs | 13 use crate::storage::{Assembler, RingBuffer};
|