From owner-freebsd-questions Fri Jul 5 1:22:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0056C37B400 for ; Fri, 5 Jul 2002 01:22:39 -0700 (PDT) Received: from jester.ti.com (jester.ti.com [192.94.94.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6543F43E42 for ; Fri, 5 Jul 2002 01:22:38 -0700 (PDT) (envelope-from gauthamg123list@myrealbox.com) Received: from dlep6.itg.ti.com ([157.170.188.9]) by jester.ti.com (8.11.6/8.11.6) with ESMTP id g658Mbt09081 for ; Fri, 5 Jul 2002 03:22:37 -0500 (CDT) Received: from dlep6.itg.ti.com (localhost [127.0.0.1]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id DAA26795 for ; Fri, 5 Jul 2002 03:22:37 -0500 (CDT) Received: from popsvr.india.ti.com (popsvr.india.ti.com [157.87.95.215]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id DAA26748 for ; Fri, 5 Jul 2002 03:22:35 -0500 (CDT) Received: from gautham ([192.168.185.126]) by popsvr.india.ti.com (8.8.8/8.8.8) with SMTP id NAA21195 for ; Fri, 5 Jul 2002 13:52:19 +0530 (IST) Reply-To: From: "Gautham Ganapathy" To: "FreeBSD.org - Questions" Subject: PF_LINK Date: Fri, 5 Jul 2002 13:52:54 +0530 Message-ID: <067301c223fd$290819d0$1901a8c0@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I tried to create a PF_LINK socket, but was unable to get the right value for the 3rd parameter to socket(). perror() gave the message ' : Protocol not supported'. i have tried various values like IPPROTO_* and some link layer constants from net/if.h. i also put a loop counter going from 0 to 1000 and passed it as the 3rd param, but it still failed. is PF_LINK not supported in bsd ? regards gautham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message