right now we have a snapp protocol message type for only ip4 and another for only ip6, this makes it difficult to allow users to do ipv6 internally if they want to as we can really only easily use one or the other but not both.
we can allow ipv6 packets with src and dst being ipv4 mapped addresses be converted into ipv4 packets when going to the os and conversely transform ipv4 packets read from the os into ipv6 with ip4 mapped addresses.
this would additionally help consolidate any duplicate code paths.
right now we have a snapp protocol message type for only ip4 and another for only ip6, this makes it difficult to allow users to do ipv6 internally if they want to as we can really only easily use one or the other but not both.
we can allow ipv6 packets with src and dst being ipv4 mapped addresses be converted into ipv4 packets when going to the os and conversely transform ipv4 packets read from the os into ipv6 with ip4 mapped addresses.
this would additionally help consolidate any duplicate code paths.