From owner-freebsd-net@FreeBSD.ORG Sun Jul 2 11:37:06 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6D7416A403 for ; Sun, 2 Jul 2006 11:37:06 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 248CD44356 for ; Sun, 2 Jul 2006 11:37:05 +0000 (GMT) (envelope-from rrs@cisco.com) Received: from sj-dkim-8.cisco.com ([171.68.10.93]) by sj-iport-4.cisco.com with ESMTP; 02 Jul 2006 04:37:05 -0700 X-IronPort-AV: i="4.06,199,1149490800"; d="scan'208"; a="1834478942:sNHT84636148" Received: from sj-core-4.cisco.com (sj-core-4.cisco.com [171.68.223.138]) by sj-dkim-8.cisco.com (8.12.11/8.12.11) with ESMTP id k62Bb5Ji008357; Sun, 2 Jul 2006 04:37:05 -0700 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id k62Bb4cL023110; Sun, 2 Jul 2006 04:37:04 -0700 (PDT) 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.211); Sun, 2 Jul 2006 04:37:04 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.211); Sun, 2 Jul 2006 04:37:03 -0700 Message-ID: <44A7AFDF.50303@cisco.com> Date: Sun, 02 Jul 2006 07:37:03 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yann Berthier References: <44A552FA.2030302@cisco.com> <20060701182815.GD1788@bashibuzuk.net> In-Reply-To: <20060701182815.GD1788@bashibuzuk.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Jul 2006 11:37:04.0095 (UTC) FILETIME=[D7322EF0:01C69DCB] DKIM-Signature: a=rsa-sha1; q=dns; l=3343; t=1151840225; x=1152704225; c=relaxed/simple; s=sjdkim8001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:Randall=20Stewart=20 |Subject:Re=3A=20SCTP; X=v=3Dcisco.com=3B=20h=3DeFwn8yHouLxYzxwWS0cbAORTlr0=3D; b=cxhxi7Hur4J8i9HKomJNHbAFFg8Ko3/L5f8x/AaXxXj/fiUsW9YUJ0SMho77IwiGPwpc5EOo TOedvMW6u0cY5E6J1EFf/RxCeDsruxC07XiC6970fvl72Gjh9qZkrQlk; Authentication-Results: sj-dkim-8.cisco.com; header.From=rrs@cisco.com; dkim=pass ( sig from cisco.com verified; ); Cc: freebsd-net@freebsd.org Subject: Re: SCTP 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: Sun, 02 Jul 2006 11:37:06 -0000 Yann: Sorry for the delay.. I would have responded quicker but we have company for this long weekend in the US :-D This is definetly a pilot error on my part.. but I can't figure out how... it appears (in the patch) that all the files are there... But.. I am wondering.. in your source netinet/ and netinet6/ directory.. if you do a ls sctp* do you see anything? All of these functions are in the sctp_xxx.c files.. all of which, in order to get CVS to even recognize them for patching, I had to do a touch sctp_xxx* The files are: --->cd sys/netinet --->ls sctp* sctp.h sctp_hashdriver.h sctp_sack.h sctp6_usrreq.c sctp_header.h sctp_sha1.c sctp6_var.h sctp_indata.c sctp_sha1.h sctp_asconf.c sctp_indata.h sctp_structs.h sctp_asconf.h sctp_input.c sctp_timer.c sctp_auth.c sctp_input.h sctp_timer.h sctp_auth.h sctp_output.c sctp_uio.h sctp_constants.h sctp_output.h sctp_usrreq.c sctp_crc32.c sctp_pcb.c sctp_var.h sctp_crc32.h sctp_pcb.h sctputil.c sctp_handlesack.c sctp_peeloff.c sctputil.h sctp_hashdriver.c sctp_peeloff.h --->cd ../netinet6 --->ls sctp* sctp6_usrreq.c sctp6_var.h Hmm I am wondering if perhaps if no files are present the patch stuff won't work??? Maybe I should have sent out a tarball of the sctp files and a patch file for all the kernel stuff??? Let me know I am a bit confused by this.. sigh.. R Yann Berthier wrote: > Hello, > > On Fri, 30 Jun 2006, at 12:36, Randall Stewart wrote: > > >>Hi all: >> >>The following link: >> >>http://www.sctp.org/cvs_diff_6_30.bz2 >> >>Will get you a large patch that you can apply to Current that >>will add SCTP. > > > Pilot error ? freshly cvsuped src, patch applied cleanly, > made sysent, and: > > linking kernel.debug > uipc_syscalls.o(.text+0x47c8): In function `sctp_peeloff': > /usr/src/sys/kern/uipc_syscalls.c:2239: undefined reference to > `sctp_can_peel_off' > uipc_syscalls.o(.text+0x49c2):/usr/src/sys/kern/uipc_syscalls.c:2276: > undefined reference to `sctp_do_peeloff' > uipc_syscalls.o(.text+0x4cd7): In function `sctp_generic_sendmsg': > /usr/src/sys/kern/uipc_syscalls.c:2379: undefined reference to > `sctp_lower_sosend' > uipc_syscalls.o(.text+0x506c): In function `sctp_generic_recvmsg': > /usr/src/sys/kern/uipc_syscalls.c:2501: undefined reference to > `sctp_sorecvmsg' > rtsock.o(.text+0x1799): In function `rt_newaddrmsg': > /usr/src/sys/net/rtsock.c:879: undefined reference to `sctp_addr_change' > in_proto.o(.data+0xa8): undefined reference to `sctp_input' > in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' > in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' > in_proto.o(.data+0xbc): undefined reference to `sctp_init' > in_proto.o(.data+0xc8): undefined reference to `sctp_drain' > [...] > > bummer that, testing sctp seemed like an interesting thing for a > sunny saturday evening :) > > many thanks for your work, > > - yan > -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 815-342-5222 (cell)