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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to