/smoltcp-0.9.1/src/wire/ |
D | arp.rs | 42 pub const fn SHA(hardware_len: u8, _protocol_len: u8) -> Field { in SHA() 48 pub const fn SPA(hardware_len: u8, protocol_len: u8) -> Field { in SPA() 54 pub const fn THA(hardware_len: u8, protocol_len: u8) -> Field { in THA() 60 pub const fn TPA(hardware_len: u8, protocol_len: u8) -> Field { in TPA() 125 pub fn hardware_len(&self) -> u8 { in hardware_len() 132 pub fn protocol_len(&self) -> u8 { in protocol_len() 146 pub fn source_hardware_addr(&self) -> &[u8] { in source_hardware_addr() 152 pub fn source_protocol_addr(&self) -> &[u8] { in source_protocol_addr() 158 pub fn target_hardware_addr(&self) -> &[u8] { in target_hardware_addr() 164 pub fn target_protocol_addr(&self) -> &[u8] { in target_protocol_addr() [all …]
|
D | ipv6routing.rs | 201 pub fn header_len(&self) -> u8 { in header_len() 215 pub fn segments_left(&self) -> u8 { in segments_left() 239 pub fn cmpr_i(&self) -> u8 { in cmpr_i() 248 pub fn cmpr_e(&self) -> u8 { in cmpr_e() 257 pub fn pad(&self) -> u8 { in pad() 266 pub fn addresses(&self) -> &[u8] { in addresses() 283 pub fn set_header_len(&mut self, value: u8) { in set_header_len() 297 pub fn set_segments_left(&mut self, value: u8) { in set_segments_left() 348 pub fn set_cmpr_i(&mut self, value: u8) { in set_cmpr_i() 358 pub fn set_cmpr_e(&mut self, value: u8) { in set_cmpr_e() [all …]
|
D | sixlowpan.rs | 319 pub fn dispatch(&self) -> u8 { in dispatch() 337 pub fn datagram_offset(&self) -> u8 { in datagram_offset() 366 pub fn payload(&self) -> &'a [u8] { in payload() 382 fn set_dispatch_field(&mut self, value: u8) { in set_dispatch_field() 400 fn set_datagram_offset(&mut self, offset: u8) { in set_datagram_offset() 605 pub fn hop_limit(&self) -> u8 { in hop_limit() 623 pub fn src_context_id(&self) -> Option<u8> { in src_context_id() 633 pub fn dst_context_id(&self) -> Option<u8> { in dst_context_id() 643 pub fn ecn_field(&self) -> Option<u8> { in ecn_field() 655 pub fn dscp_field(&self) -> Option<u8> { in dscp_field() [all …]
|
D | ipv4.rs | 56 pub const fn new(a0: u8, a1: u8, a2: u8, a3: u8) -> Address { in new() 71 pub const fn as_bytes(&self) -> &[u8] { in as_bytes() 191 pub const fn prefix_len(&self) -> u8 { in prefix_len() 354 pub fn version(&self) -> u8 { in version() 361 pub fn header_len(&self) -> u8 { in header_len() 367 pub fn dscp(&self) -> u8 { in dscp() 373 pub fn ecn(&self) -> u8 { in ecn() 415 pub fn hop_limit(&self) -> u8 { in hop_limit() 475 pub fn payload(&self) -> &'a [u8] { in payload() 485 pub fn set_version(&mut self, value: u8) { in set_version() [all …]
|
D | ieee802154.rs | 135 pub const fn as_bytes(&self) -> &[u8] { in as_bytes() 333 pub fn sequence_number(&self) -> Option<u8> { in sequence_number() 350 fn addressing_fields(&self) -> Option<&[u8]> { in addressing_fields() 489 fn key_identifier_length(&self) -> Option<u8> { in key_identifier_length() 500 pub fn security_level(&self) -> u8 { in security_level() 507 pub fn key_identifier_mode(&self) -> u8 { in key_identifier_mode() 521 fn key_identifier(&self) -> &[u8] { in key_identifier() 533 pub fn key_source(&self) -> Option<&[u8]> { in key_source() 544 pub fn key_index(&self) -> Option<u8> { in key_index() 556 pub fn message_integrity_code(&self) -> Option<&[u8]> { in message_integrity_code() [all …]
|
D | mld.rs | 64 pub fn qrv(&self) -> u8 { in qrv() 71 pub fn qqic(&self) -> u8 { in qqic() 133 pub fn set_qrv(&mut self, value: u8) { in set_qrv() 141 pub fn set_qqic(&mut self, value: u8) { in set_qqic() 221 pub fn aux_data_len(&self) -> u8 { in aux_data_len() 244 pub fn payload(&self) -> &'a [u8] { in payload() 264 pub fn set_aux_data_len(&mut self, len: u8) { in set_aux_data_len() 291 pub fn payload_mut(&mut self) -> &mut [u8] { in payload_mut()
|
D | udp.rs | 137 pub fn payload(&self) -> &'a [u8] { in payload() 196 pub fn payload_mut(&mut self) -> &mut [u8] { in payload_mut() 204 fn as_ref(&self) -> &[u8] { in as_ref() 260 T: AsRef<[u8]> + AsMut<[u8]>, in emit_header() 275 emit_payload: impl FnOnce(&mut [u8]), in emit() 278 T: AsRef<[u8]> + AsMut<[u8]>, in emit() 318 buffer: &dyn AsRef<[u8]>, in pretty_print()
|
D | ipv6.rs | 136 pub const fn as_bytes(&self) -> &[u8] { in as_bytes() 358 pub const fn prefix_len(&self) -> u8 { in prefix_len() 492 pub fn version(&self) -> u8 { in version() 499 pub fn traffic_class(&self) -> u8 { in traffic_class() 533 pub fn hop_limit(&self) -> u8 { in hop_limit() 556 pub fn payload(&self) -> &'a [u8] { in payload() 566 pub fn set_version(&mut self, value: u8) { in set_version() 575 pub fn set_traffic_class(&mut self, value: u8) { in set_traffic_class() 610 pub fn set_hop_limit(&mut self, value: u8) { in set_hop_limit() 631 pub fn payload_mut(&mut self) -> &mut [u8] { in payload_mut() [all …]
|
D | dns.rs | 117 pub fn payload(&self) -> &[u8] { in payload() 214 pub fn payload_mut(&mut self) -> &mut [u8] { in payload_mut() 261 mut bytes: &'a [u8], in parse_name_part() 262 mut f: impl FnMut(&'a [u8]), in parse_name_part() 263 ) -> Result<(&'a [u8], Option<usize>)> { in parse_name_part() 295 pub fn parse(buffer: &'a [u8]) -> Result<(&'a [u8], Question<'a>)> { in parse() 319 pub fn emit(&self, packet: &mut [u8]) { in emit() 370 pub fn parse(buffer: &'a [u8]) -> Result<(&'a [u8], Record<'a>)> { in parse() 422 T: AsRef<[u8]> + AsMut<[u8]>, in emit()
|
D | ip.rs | 96 pub const fn v4(a0: u8, a1: u8, a2: u8, a3: u8) -> Address { in v4() 118 pub const fn as_bytes(&self) -> &[u8] { in as_bytes() 169 pub fn prefix_len(&self) -> Option<u8> { in prefix_len() 302 pub const fn prefix_len(&self) -> u8 { in prefix_len() 574 hop_limit: u8, in new() 659 pub const fn hop_limit(&self) -> u8 { in hop_limit() 806 payload: &[u8], in pretty_print_ip_payload() 919 fn test_eq<A: Into<Address>>(prefix_len: u8, mask: A) { in to_prefix_len_ipv4() 970 fn test_eq<A: Into<Address>>(prefix_len: u8, mask: A) { in to_prefix_len_ipv6()
|
D | icmpv4.rs | 230 pub fn msg_code(&self) -> u8 { in msg_code() 290 pub fn data(&self) -> &'a [u8] { in data() 306 pub fn set_msg_code(&mut self, value: u8) { in set_msg_code() 352 pub fn data_mut(&mut self) -> &mut [u8] { in data_mut() 360 fn as_ref(&self) -> &[u8] { in as_ref() 616 buffer: &dyn AsRef<[u8]>, in pretty_print()
|
D | ndiscoption.rs | 210 pub fn data_len(&self) -> u8 { in data_len() 241 pub fn prefix_len(&self) -> u8 { in prefix_len() 276 pub fn data(&self) -> &'a [u8] { in data() 294 pub fn set_data_len(&mut self, value: u8) { in set_data_len() 324 pub fn set_prefix_len(&mut self, value: u8) { in set_prefix_len() 376 pub fn data_mut(&mut self) -> &mut [u8] { in data_mut() 615 buffer: &dyn AsRef<[u8]>, in pretty_print()
|
D | icmpv6.rs | 289 pub fn msg_code(&self) -> u8 { in msg_code() 374 pub fn payload(&self) -> &'a [u8] { in payload() 390 pub fn set_msg_code(&mut self, value: u8) { in set_msg_code() 486 pub fn payload_mut(&mut self) -> &mut [u8] { in payload_mut() 494 fn as_ref(&self) -> &[u8] { in as_ref() 552 fn create_packet_from_payload<'a, T>(packet: &Packet<&'a T>) -> Result<(&'a [u8], Ipv6Repr)> in parse() 656 fn emit_contained_packet(buffer: &mut [u8], header: Ipv6Repr, data: &[u8]) { in emit()
|
D | ipv6hopbyhop.rs | 105 pub fn header_len(&self) -> u8 { in header_len() 114 pub fn options(&self) -> &'a [u8] { in options() 131 pub fn set_header_len(&mut self, value: u8) { in set_header_len() 140 pub fn options_mut(&mut self) -> &mut [u8] { in options_mut()
|
D | ethernet.rs | 46 pub const fn as_bytes(&self) -> &[u8] { in as_bytes() 170 pub fn payload(&self) -> &'a [u8] { in payload() 200 pub fn payload_mut(&mut self) -> &mut [u8] { in payload_mut() 207 fn as_ref(&self) -> &[u8] { in as_ref() 228 buffer: &dyn AsRef<[u8]>, in pretty_print()
|
D | ipv6option.rs | 153 pub fn data_len(&self) -> u8 { in data_len() 165 pub fn data(&self) -> &'a [u8] { in data() 185 pub fn set_data_len(&mut self, value: u8) { in set_data_len() 197 pub fn data_mut(&mut self) -> &mut [u8] { in data_mut() 299 pub fn new(data: &'a [u8], length: usize) -> Ipv6OptionsIterator<'a> { in new()
|
D | igmp.rs | 99 pub fn max_resp_code(&self) -> u8 { in max_resp_code() 143 pub fn set_max_resp_code(&mut self, value: u8) { in set_max_resp_code() 307 const fn duration_to_max_resp_code(duration: Duration) -> u8 { in duration_to_max_resp_code() 362 buffer: &dyn AsRef<[u8]>, in pretty_print()
|
D | tcp.rs | 259 pub fn header_len(&self) -> u8 { in header_len() 353 pub fn options(&self) -> &'a [u8] { in options() 361 pub fn payload(&self) -> &'a [u8] { in payload() 525 pub fn set_header_len(&mut self, value: u8) { in set_header_len() 572 pub fn options_mut(&mut self) -> &mut [u8] { in options_mut() 580 pub fn payload_mut(&mut self) -> &mut [u8] { in payload_mut() 588 fn as_ref(&self) -> &[u8] { in as_ref() 607 pub fn parse(buffer: &'a [u8]) -> Result<(&'a [u8], TcpOption<'a>)> { in parse() 685 pub fn emit<'b>(&self, buffer: &'b mut [u8]) -> &'b mut [u8] { in emit() 1071 buffer: &dyn AsRef<[u8]>, in pretty_print()
|
/smoltcp-0.9.1/src/iface/interface/ |
D | ipv6.rs | 53 ip_payload: &'frame [u8], in process_nxt_hdr() 109 ip_payload: &'frame [u8], in process_icmpv6() 256 ip_payload: &'frame [u8], in process_hopbyhop()
|
D | sixlowpan.rs | 91 ) -> Option<&'output [u8]> { in process_sixlowpan_fragment() 161 iphc_payload: &[u8], in decompress_sixlowpan() 163 buffer: &mut [u8], in decompress_sixlowpan()
|
/smoltcp-0.9.1/src/storage/ |
D | packet_buffer.rs | 56 PS: Into<ManagedSlice<'a, u8>>, in new() argument 80 pub fn enqueue(&mut self, size: usize, header: H) -> Result<&mut [u8], Full> { in enqueue() 205 pub fn dequeue(&mut self) -> Result<(H, &mut [u8]), Empty> { in dequeue() 219 pub fn peek(&mut self) -> Result<(&H, &[u8]), Empty> { in peek()
|
/smoltcp-0.9.1/src/socket/ |
D | udp.rs | 117 pub fn hop_limit(&self) -> Option<u8> { in hop_limit() 132 pub fn set_hop_limit(&mut self, hop_limit: Option<u8>) { in set_hop_limit() 236 ) -> Result<&mut [u8], SendError> { in send() 304 data: &[u8], in send_slice() 316 pub fn recv(&mut self) -> Result<(&[u8], IpEndpoint), RecvError> { in recv() 345 pub fn peek(&mut self) -> Result<(&[u8], &IpEndpoint), RecvError> { in peek() 393 payload: &[u8], in process()
|
D | dns.rs | 151 pub fn hop_limit(&self) -> Option<u8> { in hop_limit() 166 pub fn set_hop_limit(&mut self, hop_limit: Option<u8>) { in set_hop_limit() 259 raw_name: &[u8], in start_query_raw() 354 payload: &[u8], in process() 659 dest: &mut Vec<u8, N>, in copy_name()
|
/smoltcp-0.9.1/src/phy/ |
D | fault_injector.rs | 123 pub fn corrupt_chance(&self) -> u8 { in corrupt_chance() 128 pub fn drop_chance(&self) -> u8 { in drop_chance() 156 pub fn set_corrupt_chance(&mut self, pct: u8) { in set_corrupt_chance() 167 pub fn set_drop_chance(&mut self, pct: u8) { in set_drop_chance()
|
D | pcap_writer.rs | 37 fn write(&mut self, data: &[u8]); in write() 87 fn packet(&mut self, timestamp: Instant, packet: &[u8]) { in packet() method 96 fn write(&mut self, data: &[u8]) { in write()
|