All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alpt <alpt@freaknet.org>
To: netdev@oss.sgi.com
Subject: Ipv6 and the lost broadcast
Date: Fri, 31 Dec 2004 23:31:12 +0100	[thread overview]
Message-ID: <20041231223112.GA6134@darkalpt> (raw)

[-- 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 --]

                 reply	other threads:[~2004-12-31 22:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041231223112.GA6134@darkalpt \
    --to=alpt@freaknet.org \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.