A query regarding compilation IPv6 in SCTP library

Randall Stewart rrs at cisco.com
Mon Jul 9 20:06:32 UTC 2007


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

Nope.. sorry .. the stack is dual stack only. We had someone
on our small team at one time work a little bit towards making
it so you could compile it without AF_INET or without AF_INET6...
but that work never got completed :-(

Besides.. its no big deal compile in IPv6.. but just dont
enable it..  :-D

R

> 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.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> 


-- 
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 803-317-4952 (cell)


More information about the freebsd-net mailing list