From owner-freebsd-questions Sun Oct 29 14:13:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 08F1C37B479 for ; Sun, 29 Oct 2000 14:13:50 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e9TMDfP19720; Sun, 29 Oct 2000 14:13:41 -0800 (PST) Date: Sun, 29 Oct 2000 14:13:41 -0800 From: Alfred Perlstein To: Roman Shterenzon Cc: freebsd-questions@FreeBSD.ORG Subject: Re: packet socket Message-ID: <20001029141341.I22110@fw.wintelcom.net> References: <20001029025415.A75738@alchemy.oven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20001029025415.A75738@alchemy.oven.org>; from roman@xpert.com on Sun, Oct 29, 2000 at 02:54:15AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Roman Shterenzon [001028 18:56] wrote: > Hi, > Any idea how Linux' PACKET_SOCKET can be emulated in FreeBSD using bpf or/and > libpcap? (I'm trying to port some linux software ...) > Perhaps someone has done it already? > Please include my email in your reply since I'm not subscribed to this list. Afaik Linux's PACKET_SOCKET or whatever is just like a bpf node without any filter. If you want to port and do it right, you ought to port the linux program to use libpcap because then it will run on just about any OS that libpcap compiles on. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message