Delivering IPV6 CMSGs on mapped sockets for received IPv4 packets

Michael Tuexen Michael.Tuexen at lurchi.franken.de
Wed Jun 6 14:28:54 UTC 2012


Dear all,

anyone objecting to deliver IPV6_TCLASS, IPV6_HOPLIMIT and IPV6_PKTINFO cmsgs (when
requested, of course) on IPV6 sockets, which have been marked to be not IPV6_V6ONLY,
for each received IPV4 packet?
The reported tclass would be the TOS byte, the reported hlim would be the received TTL,
and the reported address would be the mapped IPv6 address.

The patch would look like the attached...

If noone objects I'll commit the code...

Best regards
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapped.patch
Type: application/octet-stream
Size: 3109 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20120606/63a8a5c0/mapped.obj


More information about the freebsd-net mailing list