nat64: Get the IPv4 address from an IPv6 NAT64 address when comparing a source address with a destination address in an ICMP translate.
Submitted by: Neel Chauhan <neel AT neelc DOT org>
Differential D23737
nat64: Get the IPv4 address from a NAT64 address when comparing addresses in a ICMP translate nc on Feb 17 2020, 9:43 PM. Authored by Tags Referenced Files
Details
nat64: Get the IPv4 address from an IPv6 NAT64 address when comparing a source address with a destination address in an ICMP translate. Submitted by: Neel Chauhan <neel AT neelc DOT org>
Diff Detail
Event TimelineComment Actions The patch is not correct. IPv4 address can be embedded in different places depending from configuration. Comment Actions Also, how did test your changes? :) Comment Actions I decided to use the existing function nat64_extract_ip4() to extract the IPv4 and removed my nat64_get_ip4(). I'm new to the FreeBSD TCP/IP stack, sorry. |