Lines Matching refs:ipv6_header
403 def __init__(self, ipv6_header, upper_layer_protocol, extension_headers=None): argument
404 self.ipv6_header = ipv6_header
425 self.ipv6_header.payload_length = len(self.upper_layer_protocol) + sum(
429 last_header = self.ipv6_header
447 self.ipv6_header.source_address,
448 self.ipv6_header.destination_address,
460 ipv6_packet = self.ipv6_header.to_bytes()
470 …return "IPv6Packet(header={}, upper_layer_protocol={})".format(self.ipv6_header, self.upper_layer_…
942 ipv6_header = IPv6Header.from_bytes(data)
944 message_info.source_ipv6 = ipv6_header.source_address
945 message_info.destination_ipv6 = ipv6_header.destination_address
947 …next_header, extension_headers = self._parse_extension_headers(data, ipv6_header.next_header, mess…
951 return IPv6Packet(ipv6_header, upper_layer_protocol, extension_headers)