--- src/sys/net/pfil.h 2008/09/15 05:11:02 1.9 +++ src/sys/net/pfil.h 2008/09/16 11:53:33 1.10 @@ -44,20 +44,10 @@ struct mbuf; struct ifnet; +struct packet_filter_hook; typedef int (*pfil_func_t)(void *, struct mbuf **, struct ifnet *, int); -/* - * The packet filter hooks are designed for anything to call them to - * possibly intercept the packet. - */ -struct packet_filter_hook { - TAILQ_ENTRY(packet_filter_hook) pfil_link; - pfil_func_t pfil_func; - void *pfil_arg; - int pfil_flags; -}; - #define PFIL_IN 0x00000001 #define PFIL_OUT 0x00000002 #define PFIL_ALL (PFIL_IN|PFIL_OUT)