On 03 Dec 2014, at 14:27, Boiteux Frederic <fboiteux@xxxxxxxxxxxx> wrote: > Hello Ivan, Michael, Daniel, > >> Isn't the returned address simply a IPv6-mapped IPv4 address (::ffff:1.2.3.4) ? You can test it with IN6_IS_ADDR_V4MAPPED. > > Yes, it is (I've verified with the provided macro) ! I'll use this macro to detect and update provided addresses, thanks ! Not sure if LKSCTP supports it, but you can use https://tools.ietf.org/html/rfc6458#section-8.1.15 to control if the addresses should be provided as IPv4 addresses or mapped IPv6 ones. Best regards Michael > > > Daniel, I'll try to test it on a recent kernel, but it will take some time to set up... thanks for the commit's reference ! > > Regards, > Fred. > -- > To unsubscribe from this list: send the line "unsubscribe linux-sctp" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html