patch-2.0.28 linux/drivers/net/dgrs_ether.h
Next file: linux/drivers/net/dgrs_firmware.c
Previous file: linux/drivers/net/dgrs_es4h.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Dec 21 17:22:33 1996
- Orig file:
v2.0.27/linux/drivers/net/dgrs_ether.h
- Orig date:
Sun Apr 21 11:40:09 1996
diff -u --recursive --new-file v2.0.27/linux/drivers/net/dgrs_ether.h linux/drivers/net/dgrs_ether.h
@@ -1,7 +1,8 @@
/*
- * A filtering function
+ * A filtering function. There are two filters/port. Filter "0"
+ * is the input filter, and filter "1" is the output filter.
*/
-typedef int (FILTER_FUNC)(uchar *pktp, int pktlen, ulong *scratch);
+typedef int (FILTER_FUNC)(uchar *pktp, int pktlen, ulong *scratch, int port);
#define NFILTERS 2
/*
@@ -114,8 +115,14 @@
extern int Nports; /* Number of genuine ethernet controllers */
extern int Nchan; /* ... plus one for host interface */
-extern int FirstChan; /* 0 or 1, depending on whether host is used */
+extern int FirstChan; /* 0 or 1, depedning on whether host is used */
extern int NumChan; /* 4 or 5 */
+
+/*
+ * A few globals
+ */
+extern int IsPromisc;
+extern int MultiNicMode;
/*
* Functions
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov