From: Guy Harris <guy-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
To: radiotap-eZodSLrBbDpBDgjK7y7TUQ@public.gmane.org
Subject: Re: BPF code generation for radiotap
Date: Fri, 11 May 2007 18:50:59 -0700 [thread overview]
Message-ID: <46451D83.2070003@alum.mit.edu> (raw)
In-Reply-To: <20070511235204.GC20770-eZ+MEZF6i8Dc+919tysfdA@public.gmane.org>
David Young wrote:
> Right now, all radiotap fields can be found without a loop.
I.e., can be found with a completely unrolled loop.
I might have to work on the optimizer to handle code such as
if (field XXX is present)
add AAA to the offset into the packet;
if (field YYY is present)
add BBB to the offset into the packet;
etc. - I remember seeing problems such as that when trying to handle
either the token ring header (which is variable-length, with source
routing stuff) or the 802.11 header in full generality (some frames have
4 MAC addresses - those are frames being sent from one access point to
another access point, right?).
next prev parent reply other threads:[~2007-05-12 1:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-11 23:15 BPF code generation for radiotap David Young
[not found] ` <20070511231511.GB20770-eZ+MEZF6i8Dc+919tysfdA@public.gmane.org>
2007-05-11 23:49 ` Guy Harris
[not found] ` <46450124.1010809-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
2007-05-11 23:52 ` David Young
[not found] ` <20070511235204.GC20770-eZ+MEZF6i8Dc+919tysfdA@public.gmane.org>
2007-05-12 1:50 ` Guy Harris [this message]
[not found] ` <46451D83.2070003-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
2007-05-12 1:53 ` David Young
2007-08-13 6:34 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46451D83.2070003@alum.mit.edu \
--to=guy-frubxkncsvf2fbvcvol8/a@public.gmane.org \
--cc=radiotap-eZodSLrBbDpBDgjK7y7TUQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.