/smoltcp-0.9.1/src/storage/ |
D | assembler.rs | 165 pub fn add(&mut self, mut offset: usize, size: usize) -> Result<(), TooManyHolesError> { in add() method 281 self.add(offset, size)?; in add_then_remove_front() 376 assert_eq!(assr.add(0, 16), Ok(())); in test_empty_add_full() 383 assert_eq!(assr.add(0, 4), Ok(())); in test_empty_add_front() 390 assert_eq!(assr.add(12, 4), Ok(())); in test_empty_add_back() 397 assert_eq!(assr.add(4, 8), Ok(())); in test_empty_add_mid() 404 assert_eq!(assr.add(0, 4), Ok(())); in test_partial_add_front() 411 assert_eq!(assr.add(12, 4), Ok(())); in test_partial_add_back() 418 assert_eq!(assr.add(0, 8), Ok(())); in test_partial_add_front_overlap() 425 assert_eq!(assr.add(2, 6), Ok(())); in test_partial_add_front_overlap_split() [all …]
|
/smoltcp-0.9.1/src/iface/ |
D | fragmentation.rs | 110 self.assembler.add(offset, len); in add_with() 120 pub(crate) fn add(&mut self, data: &[u8], offset: usize) -> Result<(), AssemblerError> { in add() method 140 self.assembler.add(offset, data.len()); in add() 236 p_assembler.add(&data[..], 0); in packet_assembler_overlap() 237 p_assembler.add(&data[..], 1); in packet_assembler_overlap() 250 p_assembler.add(b"Hello ", 0).unwrap(); in packet_assembler_assemble() 253 p_assembler.add(b"World!", b"Hello ".len()).unwrap(); in packet_assembler_assemble() 266 p_assembler.add(b"World!", b"Hello ".len()).unwrap(); in packet_assembler_out_of_order_assemble() 269 p_assembler.add(b"Hello ", 0).unwrap(); in packet_assembler_out_of_order_assemble() 321 assr.add(&[0x00], 0).unwrap(); in packet_assembler_set_assembling_many() [all …]
|
D | socket_set.rs | 60 pub fn add<T: AnySocket<'a>>(&mut self, socket: T) -> SocketHandle { in add() method
|
/smoltcp-0.9.1/examples/ |
D | server.rs | 82 let udp_handle = sockets.add(udp_socket); in main() 83 let tcp1_handle = sockets.add(tcp1_socket); in main() 84 let tcp2_handle = sockets.add(tcp2_socket); in main() 85 let tcp3_handle = sockets.add(tcp3_socket); in main() 86 let tcp4_handle = sockets.add(tcp4_socket); in main()
|
D | multicast.rs | 71 let raw_handle = sockets.add(raw_socket); in main() 78 let udp_handle = sockets.add(udp_socket); in main()
|
D | sixlowpan.rs | 96 let udp_handle = sockets.add(udp_socket); in main() 97 let tcp_handle = sockets.add(tcp_socket); in main()
|
D | loopback.rs | 119 let server_handle = sockets.add(server_socket); in main() 120 let client_handle = sockets.add(client_socket); in main()
|
D | benchmark.rs | 105 let tcp1_handle = sockets.add(tcp1_socket); in main() 106 let tcp2_handle = sockets.add(tcp2_socket); in main()
|
D | sixlowpan_benchmark.rs | 175 let tcp1_handle = sockets.add(tcp1_socket); in main() 176 let tcp2_handle = sockets.add(tcp2_socket); in main()
|
D | dns.rs | 69 let dns_handle = sockets.add(dns_socket); in main()
|
D | dhcp_client.rs | 48 let dhcp_handle = sockets.add(dhcp_socket); in main()
|
D | client.rs | 64 let tcp_handle = sockets.add(tcp_socket); in main()
|
D | httpclient.rs | 65 let tcp_handle = sockets.add(tcp_socket); in main()
|
D | ping.rs | 140 let icmp_handle = sockets.add(icmp_socket); in main()
|
/smoltcp-0.9.1/ |
D | gen_config.py | 14 vals.add(val) 19 vals.add(default)
|
D | README.md | 135 To use the _smoltcp_ library in your project, add the following to `Cargo.toml`: 291 sudo ip tuntap add name tap0 mode tap user $USER 293 sudo ip addr add 192.168.69.100/24 dev tap0 294 sudo ip -6 addr add fe80::100/64 dev tap0 295 sudo ip -6 addr add fdaa::100/64 dev tap0 296 sudo ip -6 route add fe80::/64 dev tap0 297 sudo ip -6 route add fdaa::/64 dev tap0 335 sudo ip tuntap add name tap0 mode tap user $USER
|
D | CHANGELOG.md | 39 - socket/dhcpv4: add waker support (#623) 57 - wire/icmpv4: add support for TimeExceeded packets (#609) 174 - tcp: add Delayed ACK support. On by default, with a 10ms delay. ([404](https://github.com/smoltcp… 195 - phy: add null terminator to c-string passed to libc API ([372](https://github.com/smoltcp-rs/smol…
|
/smoltcp-0.9.1/fuzz/fuzz_targets/ |
D | tcp_headers.rs | 163 let server_handle = socket_set.add(server_socket); 164 let client_handle = socket_set.add(client_socket);
|
/smoltcp-0.9.1/.github/workflows/ |
D | clippy.yml | 21 - run: rustup component add clippy
|
/smoltcp-0.9.1/src/ |
D | time.rs | 140 fn add(self, rhs: Duration) -> Instant { in add() method 236 fn add(self, rhs: Duration) -> Duration { in add() method
|
/smoltcp-0.9.1/src/iface/interface/ |
D | tests.rs | 437 let socket_handle = sockets.add(udp_socket); in test_handle_udp_broadcast() 950 let socket_handle = sockets.add(icmpv4_socket); in test_icmpv4_socket() 1214 sockets.add(raw_socket); in test_raw_socket_no_reply() 1281 let udp_socket_handle = sockets.add(udp_socket); in test_raw_socket_with_udp_socket() 1302 sockets.add(raw_socket); in test_raw_socket_with_udp_socket() 1585 let udp_socket_handle = sockets.add(udp_socket); in test_sixlowpan_udp_with_fragmentation()
|
D | ipv4.rs | 48 if let Err(e) = f.add(ipv4_packet.payload(), ipv4_packet.frag_offset() as usize) { in process_ipv4()
|
D | sixlowpan.rs | 143 if let Err(e) = frag_slot.add(frag.payload(), offset) { in process_sixlowpan_fragment()
|
/smoltcp-0.9.1/src/wire/ |
D | tcp.rs | 26 fn add(self, rhs: usize) -> SeqNumber { in add() method
|