Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2011 10:39:23 +0100
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        Julian Elischer <julian@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, Da Rock <freebsd-hackers@herveybayaustralia.com.au>, dudu@dudu.ro
Subject:   Re: [maybe spam] Re: linux PF_PACKET compatibility
Message-ID:  <20110212103923.3098f6b3@ernst.jennejohn.org>
In-Reply-To: <4D55E015.3010709@freebsd.org>
References:  <4D54E39D.1000505@herveybayaustralia.com.au> <4D54F0B0.7010503@freebsd.org> <4D550300.5090000@herveybayaustralia.com.au> <4D5565C7.1010809@freebsd.org> <4D55CE5A.8040902@herveybayaustralia.com.au> <4D55E015.3010709@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Feb 2011 17:19:17 -0800
Julian Elischer <julian@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.

-- 
Gary Jennejohn



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