Lines Matching full:io

30 import io
384 ipv6_header = IPv6Header.from_bytes(io.BytesIO(data))
439 udp_header = UDPHeader.from_bytes(io.BytesIO(data))
492 icmpv6_header = ICMPv6Header.from_bytes(io.BytesIO(data))
594 ipv6_packet = ipv6_factory.parse(io.BytesIO(ipv6_packet_bytes), any_message_info())
631 ipv6_packet = ipv6_factory.parse(io.BytesIO(ipv6_packet_bytes), any_message_info())
667 factory.parse(io.BytesIO(ipv6_packet_data), message_info)
730 ipv6_fragment_header = FragmentHeader.from_bytes(io.BytesIO(data))
841 mpl_option = MPLOption.from_bytes(io.BytesIO(data))
932 option_header = HopByHopOptionHeader.from_bytes(io.BytesIO(data))
992 hop_by_hop = hop_by_hop_factory.parse(io.BytesIO(data), any_message_info())
1014 … self.assertRaises(RuntimeError, hop_by_hop_factory.parse, io.BytesIO(data), any_message_info())
1033 mpl_opt = factory.parse(io.BytesIO(data), any_message_info())
1057 actual_data = factory.parse(io.BytesIO(data), message_info)
1074 actual_data = factory.parse(io.BytesIO(data), message_info)
1090 self.assertRaises(RuntimeError, factory.parse, io.BytesIO(data), message_info)
1111 udp_dgram = factory.parse(io.BytesIO(data), any_message_info())
1145 factory.parse(io.BytesIO(data), message_info)
1166 icmpv6_msg = factory.parse(io.BytesIO(data), any_message_info())
1186 self.assertRaises(RuntimeError, factory.parse, io.BytesIO(data), any_message_info())
1251 actual = ICMPv6EchoBody.from_bytes(io.BytesIO(data))
1293 actual = factory.parse(io.BytesIO(data), any_message_info())
1323 io.BytesIO(bytearray([0x00, 0x00, 0x00, 0x00]) + data))
1336 io.BytesIO(bytearray(struct.pack(">I", unused)) + data))
1350 icmpv6_dest_unreachable = factory.parse(io.BytesIO(data), any_message_info())
1371 udp_header = factory.parse(io.BytesIO(data), any_message_info())
1395 actual_options = factory.parse(io.BytesIO(data), any_message_info())