From owner-freebsd-net@FreeBSD.ORG Mon Jul 9 17:36:48 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0E8C16A41F for ; Mon, 9 Jul 2007 17:36:48 +0000 (UTC) (envelope-from peter.lei@ieee.org) Received: from alnrmhc15.comcast.net (alnrmhc15.comcast.net [204.127.225.95]) by mx1.freebsd.org (Postfix) with ESMTP id 7CEA913C447 for ; Mon, 9 Jul 2007 17:36:48 +0000 (UTC) (envelope-from peter.lei@ieee.org) Received: from macbookpro.lei.chicago.il.us (c-24-13-182-11.hsd1.il.comcast.net[24.13.182.11]) by comcast.net (alnrmhc15) with ESMTP id <20070709173646b1500e2ahde>; Mon, 9 Jul 2007 17:36:46 +0000 Message-ID: <4692721E.6000909@ieee.org> Date: Mon, 09 Jul 2007 12:36:30 -0500 From: Peter Lei User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: sazzadur rahman References: <82bdb5ec0707091019o3f938c05m934acadbaa855876@mail.gmail.com> In-Reply-To: <82bdb5ec0707091019o3f938c05m934acadbaa855876@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: A query regarding compilation IPv6 in SCTP library X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 17:36:48 -0000 From the "NOTES" file in /usr/src/sys/conf: # Note YOU MUST have both INET and INET6 defined. # you don't have to enable V6, but SCTP is # dual stacked and so far we have not teased apart # the V6 and V4.. since an association can span # both a V6 and V4 address at the SAME time :-) This includes the library portion... We simply have not gone through all of the code to #ifdef properly to do a INET or INET6 only build; it's only minimally done so far. --peter sazzadur rahman wrote: > Hi, > > Is there any way compiling SCTP library without IPv6? I have specified > -UAF_INET6 in libnetworking Makefile DEFS, but it didn't work :(. > I have found that there is #ifdef AF_INET6 condition in sctp_header.h > and in > socket.h, there is #define AF_INET6 28. So, the prior condition is a > tautology. We couldn't afford removing #define AF_INET6 28 statement as > well, because it would create a lot of compilation issues then. > > I would appriciate any help in this regard. > > Best regards, > Sazzad. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >