From owner-freebsd-questions Thu Sep 19 7:14:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 343A737B401 for ; Thu, 19 Sep 2002 07:14:47 -0700 (PDT) Received: from mercury.lss.emc.com (mercury.lss.emc.com [168.159.40.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7012C43E4A for ; Thu, 19 Sep 2002 07:14:45 -0700 (PDT) (envelope-from sasson_shuki@emc.com) Received: by mercury.lss.emc.com with Internet Mail Service (5.5.2653.19) id ; Thu, 19 Sep 2002 10:13:43 -0400 Message-ID: <33CE6457C7003A478381BCD0B584DEC55EAD0A@srmoon> From: "sasson, shuki" To: "'questions@FreeBSD.org'" Subject: IPv6 protocol switch implementation. Date: Thu, 19 Sep 2002 10:11:53 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've been reading through the implementation code of IPv6 and specifically ip6_input. I see the following. IPv6 uses the same protocol switch to process both the protocols (like = UDP & TCP) and also the option headers like Fragmentation. My question is: Are these numbers are promised to be aligned even in the future? = Basically if a protocol number will be the same as an option number this will not work. The same question applies to IPv4 (even though your implementation is = not using this trick there). Can we safely process IPv4 options the same = way? Thanks, Shuki Sasson Principal Engineer, Network Storage Group EMC=B2 =09 where information lives Phone: 508 305 8515 FaxNo: 508 435 8901 Pager: 877 919 0794 Email: sasson_shuki@emc.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message