IPV6_RECVPKTINFO not working for IPv4-mapped addresses on Linux?

Gert Doering gert at space.net
Fri Jan 24 22:44:44 CET 2014


Hi,

On Fri, Jan 24, 2014 at 01:13:13PM +0000, Benedikt Stockebrand wrote:
> Gert Doering <gert at space.net> writes:
> 
> > RFC 2292 / 3542 talk about the socket API extentions to get IPv6 destination
> > addresses (IPV6_RECVPKTINFO), so with that and a bit of source code reading,
> > you can figure out how it works for IPv4 (I haven't found actual docs for
> > that yet).
> 
> I still consider Stevens/Fenner/Rudoff (Unix Network Programming, Vol.1,
> Third Edition) the my personal favourite, especially when it comes to
> making sure that code is portable.  Chapter 22 covers the destination
> address issue.

Ho hum.  My Stevens needs an update!  I have edition one here, which ends
with chapter 18 (RPC)... :-o

Gert Doering
        -- NetMaster
-- 
have you enabled IPv6 on something today...?

SpaceNet AG                        Vorstand: Sebastian v. Bomhard
Joseph-Dollinger-Bogen 14          Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen                   HRB: 136055 (AG Muenchen)
Tel: +49 (0)89/32356-444           USt-IdNr.: DE813185279



More information about the ipv6-ops mailing list