linux PF_PACKET compatibility

b. f. bf1783 at googlemail.com
Mon Jan 31 10:22:32 UTC 2011


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.


More information about the freebsd-questions mailing list