Searched refs:wrong_version (Results 1 – 1 of 1) sorted by relevance
614 let mut wrong_version = ipv4_locals::PACKET_BYTES; in test_send_illegal() localVariable615 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() localVariable638 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()