@cached_property<EOL><INDENT>def ipv4(self):<DEDENT>
if self.address_family == socket.AF_INET:<EOL><INDENT>return IPv4Header(self)<EOL><DEDENT>
- An IPv4Header instance, if the packet is valid IPv4.
- None, otherwise.