From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 20:03:38 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2973E37B401 for ; Tue, 12 Aug 2003 20:03:38 -0700 (PDT) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [66.31.45.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3896143F3F for ; Tue, 12 Aug 2003 20:03:37 -0700 (PDT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])h8D33VJr008125 for ; Fri, 12 Sep 2003 23:03:35 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)h8D33V9a008124 for freebsd-current@freebsd.org; Fri, 12 Sep 2003 23:03:31 -0400 (EDT) From: Craig Rodrigues To: freebsd-current@freebsd.org Message-ID: <20030913030328.GA8097@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: Question about porting KAME IPv6 to CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 13 Aug 2003 03:03:38 -0000 X-Original-Date: Fri, 12 Sep 2003 23:03:28 -0400 X-List-Received-Date: Wed, 13 Aug 2003 03:03:38 -0000 Hi, Is anyone actively working on importing the latest IPv6 implementation from KAME to CURRENT? I am trying to port the sctp.org implementation of SCTP to -CURRENT, and am getting hung up on the mismatch between KAME's IPv6 implementation and -CURRENT's. I am giving a shot at importing some of the KAME sources, but am getting hung up in a few places. In src/sys/netinet6/scope6.c, KAME defines this macro: static struct scope_id sid_default; #define SID(ifp) \ ((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6]->scope6_id) where ifp is supposed to be a struct ifnet. However, CURRENT's struct ifnet does not have an if_afdata member. Is there a way to rewrite this macro to give the same functionality under CURRENT? Thanks. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org