[maybe spam] Re: linux PF_PACKET compatibility
gljennjohn at googlemail.com
Sat Feb 12 09:39:27 UTC 2011
On Fri, 11 Feb 2011 17:19:17 -0800
Julian Elischer <julian at freebsd.org> wrote:
> On 2/11/11 4:03 PM, Da Rock wrote:
> > Unfortunately this software uses this family instead of pcap or bpf.
> > So when built it errors.
> > I guess if I am to use this app I will have to rewrite the way it
> > uses the network stack.
> l2tp runs over UDP packets (port 1701 (like the starship enterprise))
> I have no idea why they want raw packets.
Ther's a sendarp() routine which uses PF_PACKET to directly access the
network driver and bypass the stack. Lazy Linuxers who have no idea
or don't care that other operating systems exist.
More information about the freebsd-hackers