Home
last modified time | relevance | path

Searched defs:data (Results 1 – 25 of 35) sorted by relevance

12

/smoltcp-0.9.1/src/wire/
Dmld.rs44 let data = self.buffer.as_ref(); in max_resp_code() localVariable
51 let data = self.buffer.as_ref(); in mcast_addr() localVariable
58 let data = self.buffer.as_ref(); in s_flag() localVariable
65 let data = self.buffer.as_ref(); in qrv() localVariable
72 let data = self.buffer.as_ref(); in qqic() localVariable
79 let data = self.buffer.as_ref(); in num_srcs() localVariable
92 let data = self.buffer.as_ref(); in nr_mcast_addr_rcrds() localVariable
105 let data = self.buffer.as_mut(); in set_max_resp_code() localVariable
112 let data = self.buffer.as_mut(); in set_mcast_addr() localVariable
119 let data = self.buffer.as_mut(); in set_s_flag() localVariable
[all …]
Dipv6routing.rs138 let data = DATA(length_field); in ADDRESSES() localVariable
194 let data = self.buffer.as_ref(); in next_header() localVariable
202 let data = self.buffer.as_ref(); in header_len() localVariable
209 let data = self.buffer.as_ref(); in routing_type() localVariable
216 let data = self.buffer.as_ref(); in segments_left() localVariable
228 let data = self.buffer.as_ref(); in home_address() localVariable
240 let data = self.buffer.as_ref(); in cmpr_i() localVariable
249 let data = self.buffer.as_ref(); in cmpr_e() localVariable
258 let data = self.buffer.as_ref(); in pad() localVariable
267 let data = self.buffer.as_ref(); in addresses() localVariable
[all …]
Dtcp.rs160 let data = self.buffer.as_ref(); in src_port() localVariable
167 let data = self.buffer.as_ref(); in dst_port() localVariable
174 let data = self.buffer.as_ref(); in seq_number() localVariable
181 let data = self.buffer.as_ref(); in ack_number() localVariable
188 let data = self.buffer.as_ref(); in fin() localVariable
196 let data = self.buffer.as_ref(); in syn() localVariable
204 let data = self.buffer.as_ref(); in rst() localVariable
212 let data = self.buffer.as_ref(); in psh() localVariable
220 let data = self.buffer.as_ref(); in ack() localVariable
228 let data = self.buffer.as_ref(); in urg() localVariable
[all …]
Darp.rs110 let data = self.buffer.as_ref(); in hardware_type() localVariable
118 let data = self.buffer.as_ref(); in protocol_type() localVariable
126 let data = self.buffer.as_ref(); in hardware_len() localVariable
133 let data = self.buffer.as_ref(); in protocol_len() localVariable
140 let data = self.buffer.as_ref(); in operation() localVariable
147 let data = self.buffer.as_ref(); in source_hardware_addr() localVariable
153 let data = self.buffer.as_ref(); in source_protocol_addr() localVariable
159 let data = self.buffer.as_ref(); in target_hardware_addr() localVariable
165 let data = self.buffer.as_ref(); in target_protocol_addr() localVariable
174 let data = self.buffer.as_mut(); in set_hardware_type() localVariable
[all …]
Dndisc.rs37 let data = self.buffer.as_ref(); in current_hop_limit() localVariable
44 let data = self.buffer.as_ref(); in router_flags() localVariable
51 let data = self.buffer.as_ref(); in router_lifetime() localVariable
58 let data = self.buffer.as_ref(); in reachable_time() localVariable
65 let data = self.buffer.as_ref(); in retrans_time() localVariable
80 let data = self.buffer.as_ref(); in target_addr() localVariable
93 let data = self.buffer.as_ref(); in neighbor_flags() localVariable
106 let data = self.buffer.as_ref(); in dest_addr() localVariable
119 let data = self.buffer.as_mut(); in set_current_hop_limit() localVariable
132 let data = self.buffer.as_mut(); in set_router_lifetime() localVariable
[all …]
Dipv4.rs202 let data = [ in netmask() localVariable
222 let data = [ in broadcast() localVariable
355 let data = self.buffer.as_ref(); in version() localVariable
362 let data = self.buffer.as_ref(); in header_len() localVariable
368 let data = self.buffer.as_ref(); in dscp() localVariable
374 let data = self.buffer.as_ref(); in ecn() localVariable
381 let data = self.buffer.as_ref(); in total_len() localVariable
388 let data = self.buffer.as_ref(); in ident() localVariable
395 let data = self.buffer.as_ref(); in dont_frag() localVariable
402 let data = self.buffer.as_ref(); in more_frags() localVariable
[all …]
Dndiscoption.rs175 let data = self.buffer.as_ref(); in check_len() localVariable
204 let data = self.buffer.as_ref(); in option_type() localVariable
211 let data = self.buffer.as_ref(); in data_len() localVariable
222 let data = self.buffer.as_ref(); in link_layer_addr() localVariable
232 let data = self.buffer.as_ref(); in mtu() localVariable
254 let data = self.buffer.as_ref(); in valid_lifetime() localVariable
261 let data = self.buffer.as_ref(); in preferred_lifetime() localVariable
268 let data = self.buffer.as_ref(); in prefix() localVariable
276 pub fn data(&self) -> &'a [u8] { in data() method
278 let data = self.buffer.as_ref(); in data() localVariable
[all …]
Dicmpv4.rs224 let data = self.buffer.as_ref(); in msg_type() localVariable
231 let data = self.buffer.as_ref(); in msg_code() localVariable
238 let data = self.buffer.as_ref(); in checksum() localVariable
248 let data = self.buffer.as_ref(); in echo_ident() localVariable
258 let data = self.buffer.as_ref(); in echo_seq_no() localVariable
282 let data = self.buffer.as_ref(); in verify_checksum() localVariable
290 pub fn data(&self) -> &'a [u8] { in data() method
291 let data = self.buffer.as_ref(); in data() localVariable
300 let data = self.buffer.as_mut(); in set_msg_type() localVariable
307 let data = self.buffer.as_mut(); in set_msg_code() localVariable
[all …]
Dicmpv6.rs283 let data = self.buffer.as_ref(); in msg_type() localVariable
290 let data = self.buffer.as_ref(); in msg_code() localVariable
297 let data = self.buffer.as_ref(); in checksum() localVariable
304 let data = self.buffer.as_ref(); in echo_ident() localVariable
311 let data = self.buffer.as_ref(); in echo_seq_no() localVariable
318 let data = self.buffer.as_ref(); in pkt_too_big_mtu() localVariable
325 let data = self.buffer.as_ref(); in param_problem_ptr() localVariable
363 let data = self.buffer.as_ref(); in verify_checksum() localVariable
375 let data = self.buffer.as_ref(); in payload() localVariable
384 let data = self.buffer.as_mut(); in set_msg_type() localVariable
[all …]
Dieee802154.rs211 let data = self.buffer.as_ref(); localVariable
223 let data = &mut self.buffer.as_mut()[field::FRAMECONTROL]; localVariable
290 let data = self.buffer.as_ref(); in frame_type() localVariable
307 let data = self.buffer.as_ref(); in dst_addressing_mode() localVariable
316 let data = self.buffer.as_ref(); in frame_version() localVariable
325 let data = self.buffer.as_ref(); in src_addressing_mode() localVariable
340 let data = self.buffer.as_ref(); in sequence_number() localVariable
565 let data = &self.buffer.as_ref(); in message_integrity_code() localVariable
573 let data = &self.buffer.as_ref(); in mac_header() localVariable
585 let data = &self.buffer.as_ref(); in payload() localVariable
[all …]
Dipv6fragment.rs56 let data = self.buffer.as_ref(); in check_len() localVariable
74 let data = self.buffer.as_ref(); in next_header() localVariable
81 let data = self.buffer.as_ref(); in frag_offset() localVariable
88 let data = self.buffer.as_ref(); in more_frags() localVariable
95 let data = self.buffer.as_ref(); in ident() localVariable
104 let data = self.buffer.as_mut(); in set_next_header() localVariable
114 let data = self.buffer.as_mut(); in clear_reserved() localVariable
125 let data = self.buffer.as_mut(); in set_frag_offset() localVariable
134 let data = self.buffer.as_mut(); in set_more_frags() localVariable
143 let data = self.buffer.as_mut(); in set_ident() localVariable
Dudp.rs80 let data = self.buffer.as_ref(); in src_port() localVariable
87 let data = self.buffer.as_ref(); in dst_port() localVariable
94 let data = self.buffer.as_ref(); in len() localVariable
101 let data = self.buffer.as_ref(); in checksum() localVariable
126 let data = self.buffer.as_ref(); in verify_checksum() localVariable
139 let data = self.buffer.as_ref(); in payload() localVariable
148 let data = self.buffer.as_mut(); in set_src_port() localVariable
155 let data = self.buffer.as_mut(); in set_dst_port() localVariable
162 let data = self.buffer.as_mut(); in set_len() localVariable
169 let data = self.buffer.as_mut(); in set_checksum() localVariable
[all …]
Dipv6option.rs112 let data = self.buffer.as_ref(); in check_len() localVariable
144 let data = self.buffer.as_ref(); in option_type() localVariable
154 let data = self.buffer.as_ref(); in data_len() localVariable
165 pub fn data(&self) -> &'a [u8] { in data() method
167 let data = self.buffer.as_ref(); in data() localVariable
176 let data = self.buffer.as_mut(); in set_option_type() localVariable
186 let data = self.buffer.as_mut(); in set_data_len() localVariable
199 let data = self.buffer.as_mut(); in data_mut() localVariable
287 data: &'a [u8], field
457 let data = [0u8; 3]; in test_option_parse() localVariable
[all …]
Digmp.rs90 let data = self.buffer.as_ref(); in msg_type() localVariable
100 let data = self.buffer.as_ref(); in max_resp_code() localVariable
107 let data = self.buffer.as_ref(); in checksum() localVariable
114 let data = self.buffer.as_ref(); in group_addr() localVariable
127 let data = self.buffer.as_ref(); in verify_checksum() localVariable
136 let data = self.buffer.as_mut(); in set_msg_type() localVariable
144 let data = self.buffer.as_mut(); in set_max_resp_code() localVariable
151 let data = self.buffer.as_mut(); in set_checksum() localVariable
158 let data = self.buffer.as_mut(); in set_group_address() localVariable
166 let data = self.buffer.as_ref(); in fill_checksum() localVariable
Dsixlowpan.rs487 let data = self.buffer.as_ref(); localVariable
497 let data = &mut self.buffer.as_mut()[field::IPHC_FIELD]; localVariable
598 let data = self.buffer.as_ref(); in next_header() localVariable
612 let data = self.buffer.as_ref(); in hop_limit() localVariable
625 let data = self.buffer.as_ref(); in src_context_id() localVariable
635 let data = self.buffer.as_ref(); in dst_context_id() localVariable
693 let data = self.buffer.as_ref(); in src_addr() localVariable
751 let data = self.buffer.as_ref(); in dst_addr() localVariable
920 let data = self.buffer.as_ref(); in payload() localVariable
928 let data = &mut self.buffer.as_mut()[field::IPHC_FIELD]; in set_dispatch_field() localVariable
[all …]
Dipv6.rs493 let data = self.buffer.as_ref(); in version() localVariable
500 let data = self.buffer.as_ref(); in traffic_class() localVariable
507 let data = self.buffer.as_ref(); in flow_label() localVariable
514 let data = self.buffer.as_ref(); in payload_len() localVariable
527 let data = self.buffer.as_ref(); in next_header() localVariable
534 let data = self.buffer.as_ref(); in hop_limit() localVariable
541 let data = self.buffer.as_ref(); in src_addr() localVariable
548 let data = self.buffer.as_ref(); in dst_addr() localVariable
557 let data = self.buffer.as_ref(); in payload() localVariable
567 let data = self.buffer.as_mut(); in set_version() localVariable
[all …]
Dipv6hopbyhop.rs74 let data = self.buffer.as_ref(); in check_len() localVariable
98 let data = self.buffer.as_ref(); in next_header() localVariable
106 let data = self.buffer.as_ref(); in header_len() localVariable
115 let data = self.buffer.as_ref(); in options() localVariable
124 let data = self.buffer.as_mut(); in set_next_header() localVariable
132 let data = self.buffer.as_mut(); in set_header_len() localVariable
141 let data = self.buffer.as_mut(); in options_mut() localVariable
Dethernet.rs147 let data = self.buffer.as_ref(); in dst_addr() localVariable
154 let data = self.buffer.as_ref(); in src_addr() localVariable
161 let data = self.buffer.as_ref(); in ethertype() localVariable
171 let data = self.buffer.as_ref(); in payload() localVariable
180 let data = self.buffer.as_mut(); in set_dst_addr() localVariable
187 let data = self.buffer.as_mut(); in set_src_addr() localVariable
194 let data = self.buffer.as_mut(); in set_ethertype() localVariable
201 let data = self.buffer.as_mut(); in payload_mut() localVariable
Ddhcpv4.rs110 pub data: &'a [u8], field
270 let data = self.buffer.as_ref(); in opcode() localVariable
276 let data = self.buffer.as_ref(); in hardware_type() localVariable
399 let data = &self.buffer.as_ref()[field::SNAME]; in get_sname() localVariable
405 let data = core::str::from_utf8(&data[..len]).map_err(|_| Error)?; in get_sname() localVariable
410 let data = &self.buffer.as_ref()[field::FILE]; in get_boot_file() localVariable
415 let data = core::str::from_utf8(&data[..len]).map_err(|_| Error)?; in get_boot_file() localVariable
427 let data = self.buffer.as_mut(); in set_sname_and_boot_file_to_zero() localVariable
438 let data = self.buffer.as_mut(); in set_opcode() localVariable
444 let data = self.buffer.as_mut(); in set_hardware_type() localVariable
[all …]
/smoltcp-0.9.1/
Dgen_config.py59 data = f.read() variable
60 before, data = data.split(SEPARATOR_START, maxsplit=1) variable
62 data = before + SEPARATOR_START + HELP + things + SEPARATOR_END + after variable
78 data = f.read() variable
79 before, data = data.split(SEPARATOR_START, maxsplit=1) variable
81 data = before + SEPARATOR_START + HELP + things + " " + SEPARATOR_END + after variable
Dbuild.rs92 let mut data = String::new(); in main() localVariable
/smoltcp-0.9.1/examples/
Dserver.rs102 let mut data = data.to_vec(); in main() localVariable
140 let data = socket in main() localVariable
143 let mut data = buffer.to_owned(); in main() localVariable
Dclient.rs86 let data = socket in main() localVariable
88 let mut data = data.to_owned(); in main() localVariable
Dsixlowpan.rs144 let data = socket in main() localVariable
146 let data = data.to_owned(); in main() localVariable
/smoltcp-0.9.1/src/iface/
Dfragmentation.rs235 let data = b"Rust"; in packet_assembler_overlap() localVariable
246 let data = b"Hello World!"; in packet_assembler_assemble() localVariable
262 let data = b"Hello World!"; in packet_assembler_out_of_order_assemble() localVariable

12