[lkml]   [2002]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support)
       From: YOSHIFUJI Hideaki / 吉藤英明 <>
    Date: Thu, 03 Oct 2002 12:13:50 +0900 (JST)

    Linux IPv6 stack provides the ability for IPv6 applications to
    interoperate with IPv4 applications. Port space for TCP (or UDP) is
    shared by IPv6 and IPv4. This conforms to RFC2553.
    However, some kind of applications may want to restrict their use of
    an IPv6 socket to IPv6 communication only. IPV6_V6ONLY socket option is
    defined for such applications in RFC2553bis, which is successor of RFC2553.

    I really wish BSD socket features did not get standardized
    in RFC's, we must live with their mistakes.

    For example, this IPV6_V6ONLY socket option is flawed. What we
    really need is a generic socket option which says "my family only"

    There is nothing ipv6 specific about such a socket attribute.

    So please, create instead "SO_ONEFAMILY" or similar generic
    socket option.

    I still need to review the rest of the patch for functional
    correctness. This is probably the most complex area of the
    socket identity code in TCP/UDP :-)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:29    [W:0.019 / U:8.836 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site