[Prev][Next][Index][Thread]

Re: Using BPF in OSKit kernels



> From: Mike Hibler <mike>
> Subject: Re:  Using BPF in OSKit kernels
> 
> Assuming you have a fairly recent OSKit release, there is some basic
> support for packet dispatchers.  Take a look at doc/pd.tex (or format
> the entire manual if you dare :-).  PD is a framework that is built on
> OSKit netio objects (hence, no driver hooks) and currently supports DPF
> (which is included in the release).  The theory is that you can add other
> dispatchers as well.

One more thing to add is that the BPF code you are looking at is part of
the support that allows certain well behaved oskit kernels to be run as a
usermode process. Netios are mapped into the BPF device of the host system
(freebsd, linux). So, its not really going to help you out.

Look at the stuff that Mike mentioned above.

Lbs

----------------------------------------
Leigh B. Stoller
University of Utah - Flux Research Group
http://www.cs.utah.edu/~stoller
----------------------------------------