From owner-freebsd-net@FreeBSD.ORG Mon Jul 9 17:19:25 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 061DF16A400 for ; Mon, 9 Jul 2007 17:19:25 +0000 (UTC) (envelope-from rahman.sazzadur@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id D710A13C484 for ; Mon, 9 Jul 2007 17:19:24 +0000 (UTC) (envelope-from rahman.sazzadur@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so1461536waf for ; Mon, 09 Jul 2007 10:19:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=OcB9Z00cckoT3hKZG7OEy4LzLa5conqVMVqgcULG4JKX6u86wmnn2+DspMXsoktBuXGYNCGAlYvmLNTFP5iUGSAqzD8QCDRaHFP3JbA00u0JjXfgB30X7yjFUxCx0mV72XMSl7R1AZE5M1BamjjEj60/qr1ktokZ8Y7jVLThqpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=feVhizt67kK42qLF402jbdcXpnRYgfVRPNituB5qkqdxKDV9IrRFBl3ct2+QTYhrhTZm7bfIy1bP8d77fBUHgwzVMGWTW9A3/mh51qz24TxudXlWIaIMrLBSu+ijHubxU7yqhBi27XRyzJcCGAEB4CVyrd1HjbsFbd0SJeGPrUY= Received: by 10.114.154.1 with SMTP id b1mr3323911wae.1184001562393; Mon, 09 Jul 2007 10:19:22 -0700 (PDT) Received: by 10.115.75.4 with HTTP; Mon, 9 Jul 2007 10:19:22 -0700 (PDT) Message-ID: <82bdb5ec0707091019o3f938c05m934acadbaa855876@mail.gmail.com> Date: Mon, 9 Jul 2007 12:19:22 -0500 From: "sazzadur rahman" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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:19:25 -0000 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.