From owner-cvs-all@FreeBSD.ORG Fri Dec 15 20:52:33 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 4F02116A53D; Fri, 15 Dec 2006 20:52:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8D4F43CB0; Fri, 15 Dec 2006 20:50:26 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id kBFKpWxq051815; Fri, 15 Dec 2006 15:51:33 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Julian Elischer Date: Fri, 15 Dec 2006 15:51:30 -0500 User-Agent: KMail/1.9.4 References: <200612151201.kBFC1qEv006825@repoman.freebsd.org> <4582A6C9.8010009@FreeBSD.org> <4582FB5A.4010208@elischer.org> In-Reply-To: <4582FB5A.4010208@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612151551.31355.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Fri, 15 Dec 2006 15:51:33 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2341/Fri Dec 15 12:47:06 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx 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 20:52:33 -0000 On Friday 15 December 2006 14:45, 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.... I'll give a free paper cookie to the first person to actually go _read_ the committed code and notice that, *tada*, aside from the sctp_send*(), and sctp_recvmsg() functions, these are indeed library wrapper functions around getsockopt() and setsockopt(). -- John Baldwin