On 11/2/06, Andrew Thompson <[EMAIL PROTECTED]> wrote:
On Thu, Nov 02, 2006 at 05:45:50PM -0800, Kevin Sanders wrote:
> 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
On Thu, Nov 02, 2006 at 05:45:50PM -0800, Kevin Sanders wrote:
> 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
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