Date: Thu, 2 Nov 2006 17:45:50 -0800 From: "Kevin Sanders" <newroswell@gmail.com> To: net@freebsd.org Subject: pfil on bridge interface, looking for ether_header Message-ID: <375baf50611021745m6d097245y4670d5741ffbd64a@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?375baf50611021745m6d097245y4670d5741ffbd64a>