Home
last modified time | relevance | path

Searched refs:None (Results 1 – 25 of 49) sorted by relevance

12

/smoltcp-0.9.1/src/iface/interface/
Dipv4.rs24 return None; in process_ipv4()
36 return None; in process_ipv4()
50 return None; in process_ipv4()
58 None => return None, in process_ipv4()
98 return None; in process_ipv4()
117 return None; in process_ipv4()
150 _ if handled_by_raw_socket => None, in process_ipv4()
185 return None; in process_arp()
191 return None; in process_arp()
197 return None; in process_arp()
[all …]
Dipv6.rs25 return None; in process_ipv6()
86 _ if handled_by_raw_socket => None, in process_nxt_hdr()
153 Icmpv6Repr::EchoReply { .. } => None, in process_icmpv6()
166 _ if handled_by_icmp_socket => None, in process_icmpv6()
169 _ => None, in process_icmpv6()
192 return None; in process_ndisc()
208 None in process_ndisc()
218 return None; in process_ndisc()
243 None in process_ndisc()
246 _ => None, in process_ndisc()
[all …]
Dsixlowpan.rs23 return None; in process_ieee802154()
37 return None; in process_ieee802154()
42 None => None, in process_ieee802154()
57 return None; in process_sixlowpan()
63 None => return None, in process_sixlowpan()
70 None, in process_sixlowpan()
76 return None; in process_sixlowpan()
114 return None; in process_sixlowpan_fragment()
130 return None; in process_sixlowpan_fragment()
139 return None; in process_sixlowpan_fragment()
[all …]
Dmod.rs296 hardware_addr: None, in new()
298 pan_id: None, in new()
491 None in new()
808 PollAt::Ingress => None, in poll_at()
828 _ => None, in poll_delay()
909 let mut neighbor_addr = None; in socket_egress()
1079 None in get_source_address()
1094 None in get_source_address_ipv4()
1109 None in get_source_address_ipv6()
1132 max_burst_size: None, in mock()
[all …]
Dethernet.rs27 return None; in process_ethernet()
47 _ => None, in process_ethernet()
Dtests.rs174 None in test_no_icmp_no_unicast_ipv4()
203 assert_eq!(iface.inner.process_ipv6(&mut sockets, &frame), None); in test_no_icmp_no_unicast_ipv6()
416 None in test_icmp_error_port_unreachable()
491 None in test_handle_udp_broadcast()
853 None in test_handle_other_arp_request()
1265 None in test_raw_socket_no_reply()
1351 None in test_raw_socket_with_udp_socket()
1375 iface.inner.caps.checksum.icmpv6 = Checksum::None; in test_echo_request_sixlowpan_128_bytes()
1457 None in test_echo_request_sixlowpan_128_bytes()
1580 iface.inner.caps.checksum.udp = Checksum::None; in test_sixlowpan_udp_with_fragmentation()
[all …]
/smoltcp-0.9.1/src/socket/
Ddhcpv4.rs187 max_lease_duration: None, in new()
191 parameter_request_list: None, in new()
192 receive_packet_buffer: None, in new()
315 None => { in process()
418 None => { in parse_ack()
420 return None; in parse_ack()
426 None => { in parse_ack()
428 return None; in parse_ack()
434 return None; in parse_ack()
465 packet: None, in parse_ack()
[all …]
Dtcp.rs122 timestamp: None, in default()
123 max_seq_sent: None, in default()
172 self.timestamp = None; in on_ack()
181 self.timestamp = None; in on_retransmit()
225 keep_alive_at: None, in new()
244 _ => None, in should_retransmit()
261 keep_alive_at: None, in poll_at()
455 timeout: None, in new()
456 keep_alive: None, in new()
457 hop_limit: None, in new()
[all …]
Ddns.rs135 hop_limit: None, in new()
183 ManagedSlice::Borrowed(_) => None, in find_free_query()
186 queries.push(None); in find_free_query()
272 timeout_at: None, in start_query_raw()
301 *slot = None; // Free up the slot for recycling. in get_query_result()
305 *slot = None; // Free up the slot for recycling. in get_query_result()
321 *slot = None; // Free up the slot for recycling. in cancel_query()
623 State::Completed(_) => None, in poll_at()
624 State::Failure => None, in poll_at()
642 (None, None) => return Ok(true), in eq_names()
[all …]
Dmod.rs115 _ => None,
123 _ => None,
Dwaker.rs11 Self { waker: None } in new()
/smoltcp-0.9.1/src/iface/
Droute.rs40 preferred_until: None, in new_ipv4_gateway()
41 expires_at: None, in new_ipv4_gateway()
51 preferred_until: None, in new_ipv6_gateway()
52 expires_at: None, in new_ipv6_gateway()
119 None in remove_default_ipv4_route()
136 None in remove_default_ipv6_route()
216 None in test_fill()
220 None in test_fill()
224 None in test_fill()
228 None in test_fill()
[all …]
Dfragmentation.rs45 key: None, in new()
53 total_size: None, in new()
59 self.key = None; in reset()
61 self.total_size = None; in reset()
148 return None; in assemble()
194 let mut empty_slot = None; in get()
251 assert_eq!(p_assembler.assemble(), None); in packet_assembler_assemble()
267 assert_eq!(p_assembler.assemble(), None); in packet_assembler_out_of_order_assemble()
298 assert_eq!(assr.assemble(), None); in packet_assembler_set_assembling_many()
304 assert_eq!(assr.assemble(), None); in packet_assembler_set_assembling_many()
[all …]
Dsocket_set.rs17 pub const EMPTY: Self = Self { inner: None };
84 sockets.push(SocketStorage { inner: None }); in add()
101 None => panic!("handle does not refer to a valid socket"), in get()
114 None => panic!("handle does not refer to a valid socket"), in get_mut()
126 None => panic!("handle does not refer to a valid socket"), in remove()
/smoltcp-0.9.1/src/wire/
Ddhcpv4.rs369 None => return None, in options()
370 Some(field::OPT_END) => return None, in options()
376 return None; in options()
382 return None; in options()
733 let mut requested_ip = None; in parse()
734 let mut client_identifier = None; in parse()
735 let mut server_identifier = None; in parse()
736 let mut router = None; in parse()
737 let mut subnet_mask = None; in parse()
738 let mut parameter_request_list = None; in parse()
[all …]
Dieee802154.rs146 Address::Absent | Address::Short(_) => None,
344 FrameType::Extended | FrameType::FragmentOrFrak | FrameType::Unknown(_) => None, in sequence_number()
360 | FrameType::Unknown(_) => return None, in addressing_fields()
381 AddressingMode::Absent => None, in dst_pan_id()
385 AddressingMode::Unknown(_) => None, in dst_pan_id()
407 AddressingMode::Unknown(_) => None, in dst_addr()
415 return None; in src_pan_id()
422 AddressingMode::Absent => None, in src_pan_id()
426 AddressingMode::Unknown(_) => None, in src_pan_id()
438 _ => return None, // TODO(thvdveld): what do we do here? in src_addr()
[all …]
Dtcp.rs326 Ok([None, None, None])
647 let mut sack_ranges: [Option<(u32, u32)>; 3] = [None; 3]; in parse()
661 None in parse()
746 None, enumerator
766 Control::Psh => Control::None, in quash_psh()
813 (false, false, false, false) => Control::None, in parse()
822 false => None, in parse()
829 let mut max_seg_size = None; in parse()
830 let mut window_scale = None; in parse()
833 let mut sack_ranges = [None, None, None]; in parse()
[all …]
Dndisc.rs257 let mut lladdr = None; in parse()
268 let (mut lladdr, mut mtu, mut prefix_info) = (None, None, None); in parse()
290 let mut lladdr = None; in parse()
304 let mut lladdr = None; in parse()
319 let (mut lladdr, mut redirected_hdr) = (None, None); in parse()
346 None => field::UNUSED.end, in buffer_len()
491 None => 0, in emit()
526 mtu: None, in create_repr()
527 prefix_info: None, in create_repr()
Dsixlowpan.rs102 None => return Err(Error), in resolve()
105 None => return Err(Error), in resolve()
149 None => return Err(Error), in resolve()
152 None => return Err(Error), in resolve()
628 None in src_context_id()
638 None in dst_context_id()
649 0b11 => None, in ecn_field()
661 0b01 | 0b11 => None, in dscp_field()
681 0b10 | 0b11 => None, in flow_label_field()
1285 (Some(_), None, Some(_)) => 3, in buffer_len()
[all …]
/smoltcp-0.9.1/benches/
Dbench.rs38 ack_number: None, in bench_emit_tcp()
40 window_scale: None, in bench_emit_tcp()
41 max_seg_size: None, in bench_emit_tcp()
43 sack_ranges: [None, None, None], in bench_emit_tcp()
/smoltcp-0.9.1/src/phy/
Dmod.rs145 None, enumerator
185 ipv4: Checksum::None, in ignored()
186 udp: Checksum::None, in ignored()
187 tcp: Checksum::None, in ignored()
189 icmpv4: Checksum::None, in ignored()
191 icmpv6: Checksum::None, in ignored()
Dfault_injector.rs220 return None; in receive()
230 return None; in receive()
235 return None; in receive()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Ddhcp_header.rs12 Err(_) => None,
15 Err(_) => None,
17 Err(_) => None,
/smoltcp-0.9.1/src/
Dparsers.rs46 None => Err(()), in advance()
59 None in try_do()
117 None => break, in accept_number()
182 None => {
223 None if double_colon => {
227 None => {
305 None => (), in accept_ip()
312 None => (), in accept_ip()
362 None => (), in accept_ip_endpoint()
369 None => (), in accept_ip_endpoint()
/smoltcp-0.9.1/examples/
Dutils.rs56 .filter(None, LevelFilter::Trace) in setup_logging_with_clock()
104 (Some(tun), None) => TunTapInterface::new(&tun, Medium::Ip).unwrap(), in parse_tuntap_options()
105 (None, Some(tap)) => TunTapInterface::new(&tap, Medium::Ethernet).unwrap(), in parse_tuntap_options()
187 None => Box::new(io::sink()), in parse_middleware_options()

12