netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Ipv6 and the lost broadcast
@ 2004-12-31 22:31 Alpt
  0 siblings, 0 replies; only message in thread
From: Alpt @ 2004-12-31 22:31 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 1053 bytes --]

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 #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-31 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-31 22:31 Ipv6 and the lost broadcast Alpt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).