Home
last modified time | relevance | path

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

/smoltcp-0.9.1/src/storage/
Dring_buffer.rs8 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 …]
Dpacket_buffer.rs3 use crate::storage::{Full, RingBuffer};
/smoltcp-0.9.1/src/iface/
Droute.rs60 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 …]
Dneighbor.rs47 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()
Dfragmentation.rs8 use crate::storage::Assembler;
/smoltcp-0.9.1/src/
Dlib.rs165 pub mod storage; module
/smoltcp-0.9.1/src/socket/
Dudp.rs9 use crate::storage::Empty;
13 pub type PacketMetadata = crate::storage::PacketMetadata<IpEndpoint>;
16 pub type PacketBuffer<'a> = crate::storage::PacketBuffer<'a, IpEndpoint>;
Draw.rs10 use crate::storage::Empty;
40 pub type PacketMetadata = crate::storage::PacketMetadata<()>;
43 pub type PacketBuffer<'a> = crate::storage::PacketBuffer<'a, ()>;
Dicmp.rs10 use crate::storage::Empty;
66 pub type PacketMetadata = crate::storage::PacketMetadata<IpAddress>;
69 pub type PacketBuffer<'a> = crate::storage::PacketBuffer<'a, IpAddress>;
Dtcp.rs13 use crate::storage::{Assembler, RingBuffer};