From owner-freebsd-net@FreeBSD.ORG Mon Jun 25 11:37:47 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 DBDAB16A400 for ; Mon, 25 Jun 2007 11:37:47 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by mx1.freebsd.org (Postfix) with ESMTP id B5B5413C465 for ; Mon, 25 Jun 2007 11:37:47 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-6.cisco.com with ESMTP; 25 Jun 2007 04:10:18 -0700 X-IronPort-AV: i="4.16,458,1175497200"; d="scan'208"; a="171473492:sNHT46422891" Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id l5PBAIAl022635; Mon, 25 Jun 2007 04:10:18 -0700 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id l5PBAGmq025014; Mon, 25 Jun 2007 11:10:18 GMT Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 25 Jun 2007 04:10:16 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 25 Jun 2007 04:10:16 -0700 Message-ID: <467FA301.8070600@cisco.com> Date: Mon, 25 Jun 2007 07:12:01 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070601 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kip Macy References: <20070624211128.GZ1371@bashibuzuk.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jun 2007 11:10:16.0369 (UTC) FILETIME=[68CD2A10:01C7B719] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=2632; t=1182769818; x=1183633818; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Re=3A=20Building=20a=20kernel=20with=20SCTP=20support |Sender:=20; bh=mAlaojVv+4UTz2T65E/7RbvPrCWT54if5ofh1tooEcM=; b=ZmsDZOvDmx054zPVXdexe1QXH0pnYUhLQv5CUkqHWmk/EfADubRzALJssQnbaYiqdThVaTpQ 7FabaQzL4n8VhNNzGUYjdvgYmWp9xAyuwmh6/meAh7QmJQkZ8/VKw+Dg; Authentication-Results: sj-dkim-4; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim4002 verified; ); Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: Building a kernel with SCTP support 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, 25 Jun 2007 11:37:47 -0000 Kip: Yes, we have a dependancy that both IPv4 and IPv6 are present. A while ago the guy that works on the NetBSd side of the code (who I can't remember his name since he has pretty much stopped working on it.. sigh) was trying to seperate things out.. but we have never put an effort into making it compileable without v6.. or without v4 for that matter.. You have to have both ... not that v6 needs to be enabled.. its just the data structures :-) R Kip Macy wrote: > Interesting - > > Randall - does SCTP depend on ipv6? Or did you mean to have a pipe > between inet and inet6? > > > netinet/sctp_asconf.c optional inet inet6 sctp > netinet/sctp_auth.c optional inet inet6 sctp > netinet/sctp_bsd_addr.c optional inet inet6 sctp > netinet/sctp_crc32.c optional inet inet6 sctp > netinet/sctp_indata.c optional inet inet6 sctp > netinet/sctp_input.c optional inet inet6 sctp > netinet/sctp_output.c optional inet inet6 sctp > netinet/sctp_pcb.c optional inet inet6 sctp > netinet/sctp_peeloff.c optional inet inet6 sctp > netinet/sctp_sysctl.c optional inet inet6 sctp > netinet/sctp_timer.c optional inet inet6 sctp > netinet/sctp_usrreq.c optional inet inet6 sctp > netinet/sctputil.c optional inet inet6 sctp > > > > > On 6/24/07, Vlad GALU wrote: > >> On 6/25/07, Yann Berthier wrote: >> > On Sun, 24 Jun 2007, at 21:31, Vlad GALU wrote: >> > >> > > Hi list, I have SCTP, SCTP_DEBUG and SCTP_HIGH_SPEED defined in my >> > > kernel configuration file. However, it looks that the SCTP source >> > > files aren't even built, so the linking fails with >> > >> > try including INET6 and see if it helps - when i tried sctp a while >> > back, i was not able to compile my kernel without it - dunno if this >> > dependency is to be expected or not >> > >> >> Thanks for the tip! It worked! >> >> > >> > >> >> >> -- >> If it's there, and you can see it, it's real. >> If it's not there, and you can see it, it's virtual. >> If it's there, and you can't see it, it's transparent. >> If it's not there, and you can't see it, you erased it. >> _______________________________________________ >> 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" >> > -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell)