From owner-cvs-all Wed Jan 16 5:36:36 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.acns.ab.ca (h24-64-56-135.cg.shawcable.net [24.64.56.135]) by hub.freebsd.org (Postfix) with ESMTP id BA44A37B405; Wed, 16 Jan 2002 05:36:29 -0800 (PST) Received: from colnta.acns.ab.ca (colnta.acns.ab.ca [192.168.1.2]) by mail.acns.ab.ca (8.11.6/8.11.3) with ESMTP id g0GDaRI80279; Wed, 16 Jan 2002 06:36:27 -0700 (MST) (envelope-from davidc@colnta.acns.ab.ca) Received: (from davidc@localhost) by colnta.acns.ab.ca (8.11.6/8.11.3) id g0GDaRR00311; Wed, 16 Jan 2002 06:36:27 -0700 (MST) (envelope-from davidc) Date: Wed, 16 Jan 2002 06:36:27 -0700 From: Chad David To: Ruslan Ermilov Cc: Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/ppp arp.c atm.c mp.c route.c server.c tcp.c udp.c Message-ID: <20020116063627.A265@colnta.acns.ab.ca> Mail-Followup-To: Ruslan Ermilov , Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200201161315.g0GDFlI94947@freefall.freebsd.org> <20020116152059.C91833@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020116152059.C91833@sunbay.com>; from ru@FreeBSD.org on Wed, Jan 16, 2002 at 03:20:59PM +0200 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jan 16, 2002 at 03:20:59PM +0200, Ruslan Ermilov wrote: > On Wed, Jan 16, 2002 at 05:15:47AM -0800, Brian Somers wrote: > > brian 2002/01/16 05:15:47 PST > > > > Modified files: > > usr.sbin/ppp arp.c atm.c mp.c route.c server.c tcp.c > > udp.c > > Log: > > socket's first argument is an address family, not a protocol family. > > > > Revision Changes Path > > 1.43 +2 -2 src/usr.sbin/ppp/arp.c > > 1.5 +2 -2 src/usr.sbin/ppp/atm.c > > 1.48 +2 -2 src/usr.sbin/ppp/mp.c > > 1.84 +2 -2 src/usr.sbin/ppp/route.c > > 1.39 +4 -4 src/usr.sbin/ppp/server.c > > 1.14 +2 -2 src/usr.sbin/ppp/tcp.c > > 1.14 +2 -2 src/usr.sbin/ppp/udp.c > > > Err, from the socket(2) manpage: > > : The domain parameter specifies a communications domain within which com- > : munication will take place; this selects the protocol family which should > : be used. These families are defined in the include file . > : The currently understood formats are: > : > : PF_LOCAL Host-internal protocols, formerly called PF_UNIX, > : PF_UNIX Host-internal protocols, depreciated, use PF_LOCAL, > : PF_INET Internet version 4 protocols, > > sockaddr.sa_family OTOH should use AF_* constants. Has FreeBSD taken a stand on this? I've always thought that the difference between AF_ and PF_ had been lost in the mist many many years ago. Here is an interesting email between Richard Stevens, Sam Leffler and Dan Lanciani: http://www.kohala.com/start/lanciani.96apr10.txt -- Chad David davidc@acns.ab.ca www.FreeBSD.org davidc@freebsd.org ACNS Inc. Calgary, Alberta Canada Fourthly, The constant breeders, beside the gain of eight shillings sterling per annum by the sale of their children, will be rid of the charge of maintaining them after the first year. - Johnathan Swift To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message