Ipv6 and the lost broadcast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgpfYk42CjxYK.pgp
Description: PGP signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux