pfil on bridge interface, looking for ether_header

Kevin Sanders newroswell at gmail.com
Fri Nov 3 01:45:53 UTC 2006


I've written a kernel module that has pfil_add_hook'ed into the pfil
framework.  When my input packet filter function is called, I can
mtod(*m, struct IP *) to the IP header, but haven't found a way to
find the original ethernet header.  (*m)->m_pkthdr.header always seems
to be NULL (I'm not even sure what it's used for but I gave it try).
Any advice sure would be welcome, thanks in advance.

Kevin


More information about the freebsd-net mailing list