tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Order of ipf, ipnat and bpf

Edgar Fuß <> writes:

>> I think it's because nobody is really sure, and the way to find out is
>> to read the sources, and you might was well do that yourself.
> Oops.
>> Find the driver you are using, and start reading the receive processing.
> So the order may be different for bge from the one in wm?

It is possible that a driver could do that, but I would call it a bug.

Looking at if_wm.c, it seems that receive packets are just put on a
queue to be processed at softint via if_percpuq_enqueue

So that is probably the common code that does bpf and then pfil_hooks.


Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index