Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 23 of 23) sorted by relevance

/smoltcp-0.9.1/
DCargo.toml85 iface-max-addr-count-1 = []
86 iface-max-addr-count-2 = [] # Default
87 iface-max-addr-count-3 = []
88 iface-max-addr-count-4 = []
89 iface-max-addr-count-5 = []
90 iface-max-addr-count-6 = []
91 iface-max-addr-count-7 = []
92 iface-max-addr-count-8 = []
94 iface-max-multicast-group-count-1 = []
95 iface-max-multicast-group-count-2 = []
[all …]
DCHANGELOG.md11 - iface: make MulticastError public. (#747)
27 - iface: The `Interface` API has been significantly simplified and cleaned up.
32 - iface: Change neighbor discovery timeout from 3s to 1s, to match Linux's behavior. (#620)
33 - iface: Remove implicit sized bound on device generics (#679)
34 - iface/6lowpan: Add address context information for resolving 6LoWPAN addresses (#687)
35 - iface/6lowpan: fix incorrect SAM value in IPHC when address is not compressed (#630)
36 - iface/6lowpan: packet parsing fuzz fixes (#636)
148 - iface: check for ipv4 subnet broadcast addrs everywhere ([#462](https://github.com/smoltcp-rs/smo…
DREADME.md221 use dashes instead of underscores. For example. `iface-max-addr-count-3`. Only a selection of values
/smoltcp-0.9.1/src/iface/interface/
Dtests.rs6 use crate::iface::Interface;
43 let mut iface = Interface::new(config, &mut device); in create_ip() localVariable
44 iface.update_ip_addrs(|ip_addrs| { in create_ip()
59 (iface, SocketSet::new(vec![]), device) in create_ip()
69 let mut iface = Interface::new(config, &mut device); in create_ethernet() localVariable
70 iface.update_ip_addrs(|ip_addrs| { in create_ethernet()
85 (iface, SocketSet::new(vec![]), device) in create_ethernet()
95 let mut iface = Interface::new(config, &mut device); in create_ieee802154() localVariable
96 iface.update_ip_addrs(|ip_addrs| { in create_ieee802154()
107 (iface, SocketSet::new(vec![]), device) in create_ieee802154()
[all …]
Dsixlowpan.rs92 use crate::iface::fragmentation::{AssemblerError, AssemblerFullError}; in process_sixlowpan_fragment()
Dmod.rs37 use crate::iface::Routes;
/smoltcp-0.9.1/examples/
Ddhcp_client.rs7 use smoltcp::iface::{Config, Interface, SocketSet};
36 let mut iface = Interface::new(config, &mut device); in main() localVariable
52 iface.poll(timestamp, &mut device, &mut sockets); in main()
61 set_ipv4_addr(&mut iface, config.address); in main()
65 iface.routes_mut().add_default_ipv4_route(router).unwrap(); in main()
68 iface.routes_mut().remove_default_ipv4_route(); in main()
77 set_ipv4_addr(&mut iface, Ipv4Cidr::new(Ipv4Address::UNSPECIFIED, 0)); in main()
78 iface.routes_mut().remove_default_ipv4_route(); in main()
82 phy_wait(fd, iface.poll_delay(timestamp, &sockets)).expect("wait error"); in main()
86 fn set_ipv4_addr(iface: &mut Interface, cidr: Ipv4Cidr) { in set_ipv4_addr()
[all …]
Ddns.rs10 use smoltcp::iface::{Config, Interface, SocketSet};
40 let mut iface = Interface::new(config, &mut device); in main() localVariable
41 iface.update_ip_addrs(|ip_addrs| { in main()
52 iface in main()
56 iface in main()
73 .start_query(iface.context(), name, DnsQueryType::A) in main()
80 iface.poll(timestamp, &mut device, &mut sockets); in main()
94 phy_wait(fd, iface.poll_delay(timestamp, &sockets)).expect("wait error"); in main()
Dclient.rs7 use smoltcp::iface::{Config, Interface, SocketSet};
38 let mut iface = Interface::new(config, &mut device); in main() localVariable
39 iface.update_ip_addrs(|ip_addrs| { in main()
50 iface in main()
54 iface in main()
68 .connect(iface.context(), (address, port), 49500) in main()
74 iface.poll(timestamp, &mut device, &mut sockets); in main()
113 phy_wait(fd, iface.poll_delay(timestamp, &sockets)).expect("wait error"); in main()
Dhttpclient.rs8 use smoltcp::iface::{Config, Interface, SocketSet};
38 let mut iface = Interface::new(config, &mut device); in main() localVariable
39 iface.update_ip_addrs(|ip_addrs| { in main()
50 iface in main()
54 iface in main()
76 iface.poll(timestamp, &mut device, &mut sockets); in main()
79 let cx = iface.context(); in main()
118 phy_wait(fd, iface.poll_delay(timestamp, &sockets)).expect("wait error"); in main()
Dmulticast.rs5 use smoltcp::iface::{Config, Interface, SocketSet};
37 let mut iface = Interface::new(config, &mut device); in main() localVariable
38 iface.update_ip_addrs(|ip_addrs| { in main()
49 iface in main()
53 iface in main()
81 iface in main()
91 iface.poll(timestamp, &mut device, &mut sockets); in main()
124 phy_wait(fd, iface.poll_delay(timestamp, &sockets)).expect("wait error"); in main()
Dping.rs4 use smoltcp::iface::{Interface, SocketSet};
10 use smoltcp::iface::Config;
114 let mut iface = Interface::new(config, &mut device); in main() localVariable
115 iface.update_ip_addrs(|ip_addrs| { in main()
126 iface in main()
130 iface in main()
151 iface.poll(timestamp, &mut device, &mut sockets); in main()
187 &iface.ipv6_addr().unwrap().into_address(), in main()
221 &iface.ipv6_addr().unwrap().into_address(), in main()
253 match iface.poll_at(timestamp, &sockets) { in main()
Dloopback.rs12 use smoltcp::iface::{Config, Interface, SocketSet};
89 let mut iface = Interface::new(config, &mut device); in main() localVariable
90 iface.update_ip_addrs(|ip_addrs| { in main()
126 iface.poll(clock.elapsed(), &mut device, &mut sockets); in main()
147 let cx = iface.context(); in main()
164 match iface.poll_delay(clock.elapsed(), &sockets) { in main()
Dserver.rs7 use smoltcp::iface::{Config, Interface, SocketSet};
33 let mut iface = Interface::new(config, &mut device); in main() localVariable
34 iface.update_ip_addrs(|ip_addrs| { in main()
45 iface in main()
49 iface in main()
91 iface.poll(timestamp, &mut device, &mut sockets); in main()
203 phy_wait(fd, iface.poll_delay(timestamp, &sockets)).expect("wait error"); in main()
Dsixlowpan.rs49 use smoltcp::iface::{Config, Interface, SocketSet};
76 let mut iface = Interface::new(config, &mut device); in main() localVariable
77 iface.update_ip_addrs(|ip_addrs| { in main()
106 iface.poll(timestamp, &mut device, &mut sockets); in main()
169 phy_wait(fd, iface.poll_delay(timestamp, &sockets)).expect("wait error"); in main()
Dbenchmark.rs12 use smoltcp::iface::{Config, Interface, SocketSet};
97 let mut iface = Interface::new(config, &mut device); in main() localVariable
98 iface.update_ip_addrs(|ip_addrs| { in main()
113 iface.poll(timestamp, &mut device, &mut sockets); in main()
151 match iface.poll_at(timestamp, &sockets) { in main()
Dsixlowpan_benchmark.rs49 use smoltcp::iface::{Config, Interface, SocketSet};
156 let mut iface = Interface::new(config, &mut device); in main() localVariable
157 iface.update_ip_addrs(|ip_addrs| { in main()
185 iface.poll(timestamp, &mut device, &mut sockets); in main()
219 match iface.poll_at(timestamp, &sockets) { in main()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs3 use smoltcp::iface::{InterfaceBuilder, NeighborCache};
135 let mut iface = InterfaceBuilder::new() localVariable
170 let _ = iface.poll(&mut socket_set, clock.elapsed());
209 match iface.poll_delay(&socket_set, clock.elapsed()) {
/smoltcp-0.9.1/src/
Dlib.rs160 pub mod iface; module
/smoltcp-0.9.1/src/socket/
Dmod.rs14 use crate::iface::Context;
Dudp.rs5 use crate::iface::Context;
Draw.rs5 use crate::iface::Context;
Ddhcpv4.rs4 use crate::iface::Context;