Home
last modified time | relevance | path

Searched refs:REPR_PACKET_BYTES (Results 1 – 2 of 2) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dipv6.rs1065 static REPR_PACKET_BYTES: [u8; 52] = [ variable
1090 let packet = Packet::new_unchecked(&REPR_PACKET_BYTES[..]); in test_packet_deconstruction()
1148 bytes.extend(&REPR_PACKET_BYTES[..]); in test_overlong()
1164 bytes.extend(&REPR_PACKET_BYTES[..]); in test_total_len_overflow()
1172 let packet = Packet::new_unchecked(&REPR_PACKET_BYTES[..]); in test_repr_parse_valid()
1214 assert_eq!(&*packet.into_inner(), &REPR_PACKET_BYTES[..]); in test_basic_repr_emit()
1222 PrettyPrinter::<Packet<&'static [u8]>>::new("\n", &&REPR_PACKET_BYTES[..]) in test_pretty_print()
Dipv4.rs877 static REPR_PACKET_BYTES: [u8; 24] = [ constant
896 let packet = Packet::new_unchecked(&REPR_PACKET_BYTES[..]); in test_parse()
904 bytes.copy_from_slice(&REPR_PACKET_BYTES[..]); in test_parse_bad_version()
929 assert_eq!(&*packet.into_inner(), &REPR_PACKET_BYTES[..]); in test_emit()