I've been looking at RFC 3542 (Advanced Sockets API) compliance, and found the following: ("x" is one of {PKTINFO, HOPLIMIT, RTHDR, DSTOPTS, TCLASS }) What RFC 3542 says: 1) IPV6_x as socket options
RFC 3542 broke the API-- they've defined options with the same name, but different semantics. And those same binaries would not work when recompiled, because the option names in the source would matc
I should've said clearly; with the patch I submitted as-is, all old binaries should return EINVAL on the socket options that have changed. That's because all of those (except the new IPV6_TCLASS, wh
I don't understand. If they do this, they'll work already when recompiled (with the patch I sent), won't they? If they don't do this, old binaries will return EINVAL on the setsockopt() calls that h
Yes (or they should do so before your favorite distro start shipping with new constants). We can still keep old binaries if we renumber. This is important point. e.g. people, including myself, can ke
kernels. But old binaries won't work with just that change (and making them work is independent of changing the numbers). For example, old binary: IPV6_RTHDR is value 5 it does: on=1; setsockopt(s,
This can be implemented like this (based on codes from our repository): /* RFC2292bis */ if (np->rxopt.bits.rxhbh && opt->hop) { u8 *ptr = skb->nh.raw + opt->hop; put_cmsg(msg, SOL_IPV6, IPV6_HOPOPTS
YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> wrote on 12:47:49 AM: Ok, but this gets back to my point. If the program source doesn't have #ifdefs like you suggested (for example, if it was writ
I've been looking at RFC 3542 (Advanced Sockets API) compliance, and found the following: ("x" is one of {PKTINFO, HOPLIMIT, RTHDR, DSTOPTS, TCLASS }) What RFC 3542 says: 1) IPV6_x as socket options
RFC 3542 broke the API-- they've defined options with the same name, but different semantics. And those same binaries would not work when recompiled, because the option names in the source would matc
PS - I should've said clearly; with the patch I submitted as-is, all old binaries should return EINVAL on the socket options that have changed. That's because all of those (except the new IPV6_TCLASS
I don't understand. If they do this, they'll work already when recompiled (with the patch I sent), won't they? If they don't do this, old binaries will return EINVAL on the setsockopt() calls that h