netdev
[Top] [All Lists]

Ipv6 and the lost broadcast

To: netdev@xxxxxxxxxxx
Subject: Ipv6 and the lost broadcast
From: Alpt <alpt@xxxxxxxxxxxx>
Date: Fri, 31 Dec 2004 23:31:12 +0100
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
Once upon a time in the ip protocol there was INADDR_BROADCAST, and all
seemed happy.

from "man ipv6":
" IPv6 supports several address types: unicast to address a single host,
  multicast  to  address a group of hosts, anycast to address the nearest
  member of a group of hosts (not implemented in Linux),
  IPv4-on-IPv6  to address a IPv4 host, and other reserved address types."

from  net/ipv6/tcp_ipv6.c +582:
...
        /*
         *      connect() to INADDR_ANY means loopback (BSD'ism).
         */
        
        if(ipv6_addr_any(&usin->sin6_addr))
                usin->sin6_addr.s6_addr[15] = 0x1; 
...

Why it isn't supported? Is there a particular reason to follow this
BSD'ism? 

Is it possible to achieve the same result of INADDR_BROADCAST with
multicast? The propagation has to be restricted only to the neighbour
nodes.


Best Regards
-- 
:wq!
"I don't know nothing" The One Who reached the Thinking Matter   '.'

[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9  5277 BFF8 037E 441C F0EE ]

Attachment: pgpmEO51N5k7Y.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
  • Ipv6 and the lost broadcast, Alpt <=