Home
last modified time | relevance | path

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

/smoltcp-0.9.1/src/socket/
Draw.rs614 let mut wrong_version = ipv4_locals::PACKET_BYTES; in test_send_illegal() localVariable
615 Ipv4Packet::new_unchecked(&mut wrong_version).set_version(6); in test_send_illegal()
617 assert_eq!(socket.send_slice(&wrong_version[..]), Ok(())); in test_send_illegal()
637 let mut wrong_version = ipv6_locals::PACKET_BYTES; in test_send_illegal() localVariable
638 Ipv6Packet::new_unchecked(&mut wrong_version[..]).set_version(4); in test_send_illegal()
640 assert_eq!(socket.send_slice(&wrong_version[..]), Ok(())); in test_send_illegal()