From owner-cvs-all@FreeBSD.ORG Fri Dec 15 21:44:44 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38AC416A50D; Fri, 15 Dec 2006 21:44:44 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-3.cisco.com (sj-iport-3-in.cisco.com [171.71.176.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6220843CC3; Fri, 15 Dec 2006 21:41:21 +0000 (GMT) (envelope-from rrs@cisco.com) Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-3.cisco.com with ESMTP; 15 Dec 2006 13:42:57 -0800 X-IronPort-AV: i="4.12,176,1165219200"; d="scan'208"; a="451358665:sNHT47151924" Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id kBFLguRf023371; Fri, 15 Dec 2006 13:42:56 -0800 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-5.cisco.com (8.12.10/8.12.6) with ESMTP id kBFLgkjW023453; Fri, 15 Dec 2006 13:42:56 -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:42:53 -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:42:53 -0800 Message-ID: <458316B9.6090801@cisco.com> Date: Fri, 15 Dec 2006 16:42:17 -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: Julian Elischer References: <200612151201.kBFC1qEv006825@repoman.freebsd.org> <4582A1E0.1050503@freebsd.org> <4582A6C9.8010009@FreeBSD.org> <4582FB5A.4010208@elischer.org> In-Reply-To: <4582FB5A.4010208@elischer.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Dec 2006 21:42:53.0216 (UTC) FILETIME=[F9886200:01C72091] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=901; t=1166218976; x=1167082976; c=relaxed/simple; s=sjdkim3002; 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=gVdS3m2dr0gBg/SwjjmB/ZnVNx87Y8ggCtu4NymTII4=; b=eicKGrNVRESvAB3rzvQxH43xZlYly/DN8wLeidhaSCxNK0TENKhH8Ff54S+sUQK53DsgDewg t5z0UmkZdWG+c8m5UP0ZuHvVP/iyuA7h1sJ8p3bRY8DtrAUi6wxB74L+; Authentication-Results: sj-dkim-3; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim3002 verified; ); Cc: src-committers@FreeBSD.org, Andre Oppermann , cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Randall Stewart , "Bruce M. Simpson" Subject: Re: cvs commit: src/lib/libc/net Makefile.inc sctp_sys_calls.c src/sys/sys param.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 21:44:44 -0000 Julian Elischer wrote: > Bruce M. Simpson wrote: > >> Andre Oppermann wrote: >> >>> >>> What makes these sctp_* syscalls so special as opposed to their >>> generic and protocol agnostic counterparts? >> >> They're used for operations which do not have a direct correspondence >> in the existing functions, i.e. connecting to multihomed peers, and >> dealing with one-to-many sockets. >> >> See Section 9.3-9.12, UNIX Network Programming Vol 1 3e for more info. > > > > generally we would use socket ops or ioctls for this sort of thing.. > syscalls is not how they would normally be done.... > >> >> Regards, >> BMS > > Most of the things are NOT syscalls.. there are only a few for efficency.. the rest are a collection of socket options that perform the functions.. R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell)