patch-2.4.22 linux-2.4.22/include/linux/isdn_ppp.h

Next file: linux-2.4.22/include/linux/lockd/lockd.h
Previous file: linux-2.4.22/include/linux/inetdevice.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/linux/isdn_ppp.h linux-2.4.22/include/linux/isdn_ppp.h
@@ -65,6 +65,9 @@
 
 #include <linux/config.h>
 
+#ifdef CONFIG_IPPP_FILTER
+#include <linux/filter.h>
+#endif
 
 #define DECOMP_ERR_NOMEM	(-10)
 
@@ -223,6 +226,10 @@
   unsigned char *cbuf;
   struct slcompress *slcomp;
 #endif
+#ifdef CONFIG_IPPP_FILTER
+  struct sock_fprog pass_filter;	/* filter for packets to pass */
+  struct sock_fprog active_filter;	/* filter for pkts to reset idle */
+#endif
   unsigned long debug;
   struct isdn_ppp_compressor *compressor,*decompressor;
   struct isdn_ppp_compressor *link_compressor,*link_decompressor;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)