Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jul 2007 12:36:30 -0500
From:      Peter Lei <peter.lei@ieee.org>
To:        sazzadur rahman <rahman.sazzadur@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: A query regarding compilation IPv6 in SCTP library
Message-ID:  <4692721E.6000909@ieee.org>
In-Reply-To: <82bdb5ec0707091019o3f938c05m934acadbaa855876@mail.gmail.com>
References:  <82bdb5ec0707091019o3f938c05m934acadbaa855876@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 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"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4692721E.6000909>