PF_PACKET
Ivan Voras
ivoras at fer.hr
Fri Jun 25 13:22:36 PDT 2004
Lev Walkin wrote:
> Ivan Voras wrote:
>
>> I'm trying to port open1x xsupplicant, and it uses PF_PACKET to get
>> relevant packets (of appropriate ethernet type). I looked around in
>> /usr/include and can't find the support, at least not under that and
>> similar names. Is there support for it in FreeBSD?
>>
>> (I only need to catch & send a few packets now and then, not anything
>> complex or bandwidth demanding).
>
>
> man bpf
I've no experience with bpf, but It looks way too complex. And besides,
the program is relaying on using sendto/recvfrom all over the place.
--
What part of "Ph'nglui mglw'nath Cthulhu R'lyeh wgah'nagl fhtagn" don't
you understand?
More information about the freebsd-hackers
mailing list