HomeFreeBSD

IPV6_PKTINFO support for v4-mapped IPv6 sockets

Description

IPV6_PKTINFO support for v4-mapped IPv6 sockets

When using v4-mapped IPv6 sockets with IPV6_PKTINFO we do not
respect the given v4-mapped src address on the IPv4 socket.
Implement the needed functionality. This allows single-socket
UDP applications (such as OpenVPN) to work better on FreeBSD.

Requested by: Gert Doering (gert greenie.net), pfsense
Tested by: Gert Doering (gert greenie.net)
Reviewed by: melifaro
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D24135

Details

Provenance
bzAuthored on
Reviewer
melifaro
Differential Revision
D24135: IPV6_PKTINFO support for v4-mapped IPv6 sockets
Parents
rS364017: MFC r362230: libcasper(3): Document HISTORY within the manpages
Branches
Unknown
Tags
Unknown