Lines Matching refs:bytes
675 let mut bytes = [0xff; 24]; in test_send_dispatch() localVariable
676 let mut packet = Icmpv4Packet::new_unchecked(&mut bytes); in test_send_dispatch()
718 let mut bytes = [0xff; 24]; in test_set_hop_limit_v4() localVariable
719 let mut packet = Icmpv4Packet::new_unchecked(&mut bytes); in test_set_hop_limit_v4()
757 let mut bytes = [0xff; 24]; in test_recv_process() localVariable
758 let mut packet = Icmpv4Packet::new_unchecked(&mut bytes[..]); in test_recv_process()
780 let mut bytes = [0xff; 20]; in test_accept_bad_id() localVariable
781 let mut packet = Icmpv4Packet::new_unchecked(&mut bytes); in test_accept_bad_id()
802 let mut bytes = [0xff; 18]; in test_accepts_udp() localVariable
803 let mut packet = UdpPacket::new_unchecked(&mut bytes); in test_accepts_udp()
842 let mut bytes = [0x00; 46]; in test_accepts_udp() localVariable
843 let mut packet = Icmpv4Packet::new_unchecked(&mut bytes[..]); in test_accepts_udp()
917 let mut bytes = vec![0xff; 24]; in test_send_dispatch() localVariable
918 let mut packet = Icmpv6Packet::new_unchecked(&mut bytes); in test_send_dispatch()
965 let mut bytes = vec![0xff; 24]; in test_set_hop_limit() localVariable
966 let mut packet = Icmpv6Packet::new_unchecked(&mut bytes); in test_set_hop_limit()
1009 let mut bytes = [0xff; 24]; in test_recv_process() localVariable
1010 let mut packet = Icmpv6Packet::new_unchecked(&mut bytes[..]); in test_recv_process()
1037 let mut bytes = [0xff; 20]; in test_accept_bad_id() localVariable
1038 let mut packet = Icmpv6Packet::new_unchecked(&mut bytes); in test_accept_bad_id()
1064 let mut bytes = [0xff; 18]; in test_accepts_udp() localVariable
1065 let mut packet = UdpPacket::new_unchecked(&mut bytes); in test_accepts_udp()
1104 let mut bytes = [0x00; 66]; in test_accepts_udp() localVariable
1105 let mut packet = Icmpv6Packet::new_unchecked(&mut bytes[..]); in test_accepts_udp()