Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 14:13:41 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Roman Shterenzon <roman@xpert.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: packet socket
Message-ID:  <20001029141341.I22110@fw.wintelcom.net>
In-Reply-To: <20001029025415.A75738@alchemy.oven.org>; from roman@xpert.com on Sun, Oct 29, 2000 at 02:54:15AM %2B0200
References:  <20001029025415.A75738@alchemy.oven.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Roman Shterenzon <roman@xpert.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001029141341.I22110>