Skip to contentSkip to conversation

Ipv6 and the lost broadcast

DISCUSSION Alpt 1 participant 1 message Dec 31, 2004

Subsystems (2)
lore
Share & tools
lore

Alpt

author
#0 lore raw

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

Signature · 6 lines
: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 ]