Date: Mon, 31 Jan 2011 05:22:30 -0500 From: "b. f." <bf1783@googlemail.com> To: Da Rock <freebsd-questions@herveybayaustralia.com.au> Cc: freebsd-questions@FreeBSD.org Subject: Re: linux PF_PACKET compatibility Message-ID: <AANLkTikKRB-Mw2TEFFoi75xBJabEjaL64QYGh8FBgPxp@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Da Rock wrote: ... > I've been chasing the answer to a FreeBSD version of this (approx. > anyway), but I needed to find out what exactly PF_PACKET was first. > Finally found this answer here: http://www.linuxjournal.com/article/4659 > > I looked up man socket and I can see possibilities (in my mind anyway), > but I thought I'd be best to check if the gurus here might have a better > idea. My reason for this is I'm attempting to build l2tpns (which > supposedly builds on 7.2?! with no trouble), and I'm chasing the errors > which appear to be linuxisms mostly. > > So in man socket simply looking at the list of protocol families I'd say > network driver level would be PF_LINK link layer interface? Is there > another man page I should be looking at as well? In the past, those wishing to use similar functionality on FreeBSD have turned to pcap(3), bpf(4), or ng_etf(4), and the underlying code. This kind of question is better directed to the freebsd-hackers and freebsd-net lists. b.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikKRB-Mw2TEFFoi75xBJabEjaL64QYGh8FBgPxp>