Re: [maybe spam] Re: linux PF_PACKET compatibility
- From: Da Rock <freebsd-hackers@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 12 Feb 2011 20:28:41 +1000
On 02/12/11 19:39, Gary Jennejohn wrote:
On Fri, 11 Feb 2011 17:19:17 -0800Indeed. Is it possible to leverage another compatible routine? I haven't had a look yet as I just read the message, but can I (after checking return values and arguments) just drop in another arp routine? Or are they simply incompatible across the board?
Julian Elischer<julian@xxxxxxxxxxx> wrote:
On 2/11/11 4:03 PM, Da Rock wrote:Ther's a sendarp() routine which uses PF_PACKET to directly access the
Unfortunately this software uses this family instead of pcap or bpf.l2tp runs over UDP packets (port 1701 (like the starship enterprise))
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.
I have no idea why they want raw packets.
network driver and bypass the stack. Lazy Linuxers who have no idea
or don't care that other operating systems exist.
From what I understand they should all be essentially doing the same thing, but I could be wrong on this. Alternatively would I have to basically rewrite the arp.c to be posix compatible (for portability)?
Cheers
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: [maybe spam] Re: linux PF_PACKET compatibility
- From: Vlad Galu
- Re: [maybe spam] Re: linux PF_PACKET compatibility
- References:
- linux PF_PACKET compatibility
- From: Da Rock
- Re: linux PF_PACKET compatibility
- From: Julian Elischer
- Re: linux PF_PACKET compatibility
- From: Da Rock
- Re: linux PF_PACKET compatibility
- From: Julian Elischer
- Re: linux PF_PACKET compatibility
- From: Da Rock
- Re: [maybe spam] Re: linux PF_PACKET compatibility
- From: Julian Elischer
- Re: [maybe spam] Re: linux PF_PACKET compatibility
- From: Gary Jennejohn
- linux PF_PACKET compatibility
- Prev by Date: SO_SETFIB socket option
- Next by Date: Re: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD
- Previous by thread: Re: [maybe spam] Re: linux PF_PACKET compatibility
- Next by thread: Re: [maybe spam] Re: linux PF_PACKET compatibility
- Index(es):