From owner-freebsd-hackers Sat May 4 22:49:01 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA05591 for hackers-outgoing; Sat, 4 May 1996 22:49:01 -0700 (PDT) Received: from cheops.anu.edu.au (avalon@cheops.anu.edu.au [150.203.76.24]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA05550 for ; Sat, 4 May 1996 22:48:57 -0700 (PDT) Message-Id: <199605050548.WAA05550@freefall.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA140485335; Sun, 5 May 1996 15:48:55 +1000 From: Darren Reed Subject: RE: IPv8 Tutorial #1: Minimal IPv8 hack To: FreeBSD-hackers@freebsd.org Date: Sun, 5 May 1996 15:48:55 +1000 (EST) X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > There is an IPv8 header file referenced at... > http://comm.unety.net/US/IL/Naperville/Unir ok, thanks for the URL. > There are macros to test the version and options bits... > > You have to use "&" and not "==" to make sure you > are testing just one bit at a time. Only the high bit > of the IPv4 version field (ip->ip_v) is used for version. But 4 = 0100, 6 = 0110, 8 = 1000, etc. I'm not sure if you're aware of this, but there is an IPv6 being developed by a large number of people. Hmmm. I'm *very* concerned that you're doing this. Have you submitted any documentation on this to the IETF ? Protocol numbers aren't there to be chosen lightly, they should be registered with the IANA first, before use.