summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-08-31 15:21:31 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-08-31 15:21:31 +0000
commita5d3a8f99b99ef0c5e4917109420904884332ebd (patch)
tree9128f8f17515feabc5264e8be42902bfaef080f1
parentc4fd50cb6152498c8a0426c77da02a1b4df0a878 (diff)
Notes
-rw-r--r--sys/net/if.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 6283851ccaa0..f1e634b1f0ea 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if.h 8.1 (Berkeley) 6/10/93
- * $Id: if.h,v 1.20 1995/08/16 16:13:39 bde Exp $
+ * $Id: if.h,v 1.21 1995/08/30 00:33:17 bde Exp $
*/
#ifndef _NET_IF_H_
@@ -117,6 +117,8 @@ struct ifqueue {
int ifq_drops;
};
+#define IF_NPRIVATE 4
+
/*
* Structure describing information about an interface
* which may be of interest to management entities.
@@ -149,6 +151,7 @@ struct ifnet {
void (*if_watchdog) /* timer routine */
__P((int));
struct ifqueue if_snd; /* output queue */
+ void *if_private[IF_NPRIVATE]; /* opaque data for various clients */
};
#define if_mtu if_data.ifi_mtu
#define if_type if_data.ifi_type