From owner-freebsd-audit Sat Jul 21 11:14:19 2001 Delivered-To: freebsd-audit@freebsd.org Received: from femail13.sdc1.sfba.home.com (femail13.sdc1.sfba.home.com [24.0.95.140]) by hub.freebsd.org (Postfix) with ESMTP id 167EA37B403 for ; Sat, 21 Jul 2001 11:14:17 -0700 (PDT) (envelope-from btdang@home.com) Received: from home.com ([24.248.85.196]) by femail13.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010721181416.GNOJ4169.femail13.sdc1.sfba.home.com@home.com> for ; Sat, 21 Jul 2001 11:14:16 -0700 Message-ID: <3B59C7D7.83957F27@home.com> Date: Sat, 21 Jul 2001 11:20:07 -0700 From: Bruce Dang Organization: Boys & Girls Clubs X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: audit@freebsd.org Subject: PF_INET or AF_INET Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG this is just a question, but how come some of the socket(2) calls use AF_INET as its first arg. like sd = socket(AF_INET, SOCK_STREAM, 0);. according to the man page, we should use PF_INET. But either way, they are basically the same macro and results to 2. Should change the socket(2) man page or change all AF_INET in socket calls to PF_INET... Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message