From owner-freebsd-net@FreeBSD.ORG Tue Jun 17 17:35:25 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8039F37B401 for ; Tue, 17 Jun 2003 17:35:25 -0700 (PDT) Received: from relay1.softcomca.com (relay1.softcomca.com [168.144.1.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE17343FBD for ; Tue, 17 Jun 2003 17:35:24 -0700 (PDT) (envelope-from akanwar@digitarchy.com) Received: from M2W048.mail2web.com ([168.144.251.155]) by relay1.softcomca.com with Microsoft SMTPSVC(5.0.2195.5576); Tue, 17 Jun 2003 20:35:23 -0400 Message-ID: <265000-22003631803523906@M2W048.mail2web.com> X-Priority: 3 X-Originating-IP: 66.162.33.181 X-URL: http://mail2web.com/ From: "akanwar@digitarchy.com" To: freebsd-net@freebsd.org Date: Tue, 17 Jun 2003 20:35:23 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 18 Jun 2003 00:35:24.0074 (UTC) FILETIME=[819D38A0:01C33531] Subject: replacement for SOCK_PACKET X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: akanwar@digitarchy.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 00:35:25 -0000 Hi all, =20 What is the BSD equivalent of this Linux call: sock=3Dsocket(AF_INET,SOCK_PACKET,htons(ETH_P_RARP)); Thanks, -ansh -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E