Home
last modified time | relevance | path

Searched refs:utils (Results 1 – 13 of 13) sorted by relevance

/smoltcp-0.9.1/examples/
Ddns.rs8 mod utils; module
19 utils::setup_logging("warn"); in main()
21 let (mut opts, mut free) = utils::create_options(); in main()
22 utils::add_tuntap_options(&mut opts, &mut free); in main()
23 utils::add_middleware_options(&mut opts, &mut free); in main()
26 let mut matches = utils::parse_options(&opts, free); in main()
27 let device = utils::parse_tuntap_options(&mut matches); in main()
30 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
Ddhcp_client.rs2 mod utils; module
18 utils::setup_logging(""); in main()
20 let (mut opts, mut free) = utils::create_options(); in main()
21 utils::add_tuntap_options(&mut opts, &mut free); in main()
22 utils::add_middleware_options(&mut opts, &mut free); in main()
24 let mut matches = utils::parse_options(&opts, free); in main()
25 let device = utils::parse_tuntap_options(&mut matches); in main()
28 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
Dclient.rs1 mod utils; module
14 utils::setup_logging(""); in main()
16 let (mut opts, mut free) = utils::create_options(); in main()
17 utils::add_tuntap_options(&mut opts, &mut free); in main()
18 utils::add_middleware_options(&mut opts, &mut free); in main()
22 let mut matches = utils::parse_options(&opts, free); in main()
23 let device = utils::parse_tuntap_options(&mut matches); in main()
27 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
Dhttpclient.rs1 mod utils; module
15 utils::setup_logging(""); in main()
17 let (mut opts, mut free) = utils::create_options(); in main()
18 utils::add_tuntap_options(&mut opts, &mut free); in main()
19 utils::add_middleware_options(&mut opts, &mut free); in main()
23 let mut matches = utils::parse_options(&opts, free); in main()
24 let device = utils::parse_tuntap_options(&mut matches); in main()
27 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
Dmulticast.rs1 mod utils; module
18 utils::setup_logging("warn"); in main()
20 let (mut opts, mut free) = utils::create_options(); in main()
21 utils::add_tuntap_options(&mut opts, &mut free); in main()
22 utils::add_middleware_options(&mut opts, &mut free); in main()
24 let mut matches = utils::parse_options(&opts, free); in main()
25 let device = utils::parse_tuntap_options(&mut matches); in main()
28 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
Dbenchmark.rs3 mod utils; module
65 utils::setup_logging("info"); in main()
67 let (mut opts, mut free) = utils::create_options(); in main()
68 utils::add_tuntap_options(&mut opts, &mut free); in main()
69 utils::add_middleware_options(&mut opts, &mut free); in main()
72 let mut matches = utils::parse_options(&opts, free); in main()
73 let device = utils::parse_tuntap_options(&mut matches); in main()
76 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
Dserver.rs1 mod utils; module
14 utils::setup_logging(""); in main()
16 let (mut opts, mut free) = utils::create_options(); in main()
17 utils::add_tuntap_options(&mut opts, &mut free); in main()
18 utils::add_middleware_options(&mut opts, &mut free); in main()
20 let mut matches = utils::parse_options(&opts, free); in main()
21 let device = utils::parse_tuntap_options(&mut matches); in main()
24 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
Dsixlowpan.rs43 mod utils; module
57 utils::setup_logging(""); in main()
59 let (mut opts, mut free) = utils::create_options(); in main()
60 utils::add_middleware_options(&mut opts, &mut free); in main()
62 let mut matches = utils::parse_options(&opts, free); in main()
67 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
Dloopback.rs7 mod utils; module
76 utils::setup_logging_with_clock("", move || clock.elapsed()); in main()
78 let (mut opts, mut free) = utils::create_options(); in main()
79 utils::add_middleware_options(&mut opts, &mut free); in main()
81 let mut matches = utils::parse_options(&opts, free); in main()
82 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ true) in main()
Dping.rs1 mod utils; module
60 utils::setup_logging("warn"); in main()
62 let (mut opts, mut free) = utils::create_options(); in main()
63 utils::add_tuntap_options(&mut opts, &mut free); in main()
64 utils::add_middleware_options(&mut opts, &mut free); in main()
85 let mut matches = utils::parse_options(&opts, free); in main()
86 let device = utils::parse_tuntap_options(&mut matches); in main()
89 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
Dsixlowpan_benchmark.rs44 mod utils; module
129 utils::setup_logging("info"); in main()
131 let (mut opts, mut free) = utils::create_options(); in main()
132 utils::add_middleware_options(&mut opts, &mut free); in main()
135 let mut matches = utils::parse_options(&opts, free); in main()
141 utils::parse_middleware_options(&mut matches, device, /*loopback=*/ false); in main()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs12 mod utils; module
118 let (mut opts, mut free) = utils::create_options();
119 utils::add_middleware_options(&mut opts, &mut free);
121 let mut matches = utils::parse_options(&opts, free);
122 let device = utils::parse_middleware_options(
/smoltcp-0.9.1/
DCargo.toml220 path = "utils/packet2pcap.rs"