On Mon, Oct 13, 2003 at 07:41:11PM +0100, Dom De Vitto wrote: > e.g. the order is: > > 1) Physical driver copies packet from the wire into kernel memory > 2) BPF copies the packet into the application memory > 3) PF plays with the packet or even deletes it totally. > 4) the kernel then (if not deleted) routes etc. the packet. > > This my blurry view of how things happen.
that's half of it ;) nic -> bpf -> pf -> kernel routing etc -> pf -> bpf -> nic (hmm, actualy I am not sure atm wetehr the outpuyt patch is bpf -> pf or pf->bpf) of course this is horribly simplified, but you get the idea. -- Henning Brauer, BS Web Services, http://bsws.de [EMAIL PROTECTED] - [EMAIL PROTECTED] Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
