Re: Setting source address - sendmsg(), PKTINFO
From: Jiri Klimes
Date: Mon Jun 29 2009 - 05:05:16 EST
>
>Is there any solution to my problem?
>
Hmm. nobody come accross similar issues?
I found a solution in the end.
Linux supports IP_PKTINFO even on PF_INET6 sockets when IPv4-mapped addresses are used.
Thus it's possible to specify source address of sent UDP datagrams in sendmsg().
Nevertheless, how much IPv4-mapped addresses are supported? Any documentation?
Jiri Klimes
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html