[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A query regarding compilation IPv6 in SCTP library



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_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe_(_at_)_freebsd_(_dot_)_org"

_______________________________________________
freebsd-net_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org