From owner-cvs-src@FreeBSD.ORG Fri Dec 15 21:42:33 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11AE716A4A7; Fri, 15 Dec 2006 21:42:33 +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 1B91A43CF3; Fri, 15 Dec 2006 21:38:26 +0000 (GMT) (envelope-from rrs@cisco.com) Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-6.cisco.com with ESMTP; 15 Dec 2006 13:39:48 -0800 X-IronPort-AV: i="4.12,176,1165219200"; d="scan'208"; a="91507266:sNHT46132155" Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id kBFLdlcT028067; Fri, 15 Dec 2006 13:39:47 -0800 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id kBFLdkZg005606; Fri, 15 Dec 2006 13:39:46 -0800 (PST) Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 15 Dec 2006 13:39:46 -0800 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 15 Dec 2006 13:39:45 -0800 Message-ID: <458315FE.6080408@cisco.com> Date: Fri, 15 Dec 2006 16:39:10 -0500 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andre Oppermann References: <200612151201.kBFC1qEv006825@repoman.freebsd.org> <4582A1E0.1050503@freebsd.org> In-Reply-To: <4582A1E0.1050503@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Dec 2006 21:39:45.0927 (UTC) FILETIME=[89E65970:01C72091] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1453; t=1166218787; x=1167082787; c=relaxed/simple; s=sjdkim2002; 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=20cvs=20commit=3A=20src/lib/libc/net=20Makefile.inc=20s ctp_sys_calls.c=20=20=0A=20=20=20=20=20=20=20src/sys/sys=20param.h |Sender:=20; bh=xnyG8ZG1PUJKTXZMGghwZ7j4hzn7qEL0n5Psrc7Q3CQ=; b=S7+3aYCEJ8a5UZ5hRbgVCM++pznIfgme1qr9noy7MbDuK31Ckr4XV15s8I9zXKx2VtLWWOEY pFZz9I4FrGY5Uh9dcYz9Xy70U5gGWPd9lIP1JtzRiJT4r523Lo4Fo8lq; Authentication-Results: sj-dkim-2; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim2002 verified; ); Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/net Makefile.inc sctp_sys_calls.c src/sys/sys param.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 21:42:33 -0000 Andre Oppermann wrote: > Randall Stewart wrote: > >> rrs 2006-12-15 12:01:50 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libc/net Makefile.inc sys/sys param.h >> Added files: >> lib/libc/net sctp_sys_calls.c Log: >> This adds the "system calls" >> sctp_connectx() >> sctp_bindx() >> sctp_sendmsg() >> sctp_send() >> sctp_sendx() >> sctp_sendmsgx() >> sctp_recvmsg() > > > What makes these sctp_* syscalls so special as opposed to their > generic and protocol agnostic counterparts? > The generic counter parts are what these calls (at least a few of them send/recv etc) use to actually make the call. You can use either the "generic" ones.. which of course is more efficent. Or you can use the sctp_send* or sctp_recv* call instead.. which is more portable.. since they conform to the socket api document. Some of these (the rest) are not even system calls. but a collection of socket options.. I have just got through getting the first cut of all the man pages together... sigh.. still need more work on sctp(4).. but I think I will send it all to George for approval.. I have also asked some of the other SCTP team members to have a look at the man pages and see if I missed anything .. which I probably did :-) R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell)