summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authordenny <denny@cvs.openbsd.org>1997-07-23 02:49:36 +0000
committerdenny <denny@cvs.openbsd.org>1997-07-23 02:49:36 +0000
commit63f918fe7ce1a1bb3b342d2d0ae6cbd850524c48 (patch)
treea828621d05a8ba87a1d9f78b1f470a52c294592d /sys
parentb9a03772f319a9fbb2459c234d35be481a718f06 (diff)
Update from 4.4lite2 (needed for netatalk, others).
This changes the def of some of the MT_ flags. Lite2 did it for unknown reason.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mbuf.h39
1 files changed, 27 insertions, 12 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 224e8d3c6a7..0b87b6bde44 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.h,v 1.5 1997/07/11 23:37:50 provos Exp $ */
+/* $OpenBSD: mbuf.h,v 1.6 1997/07/23 02:49:35 denny Exp $ */
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
/*
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)mbuf.h 8.3 (Berkeley) 1/21/94
+ * @(#)mbuf.h 8.5 (Berkeley) 2/19/95
*/
#ifndef M_WAITOK
@@ -134,11 +134,18 @@ struct mbuf {
#define MT_FREE 0 /* should be on free list */
#define MT_DATA 1 /* dynamic (data) allocation */
#define MT_HEADER 2 /* packet header */
-#define MT_SONAME 3 /* socket name */
-#define MT_SOOPTS 4 /* socket options */
-#define MT_FTABLE 5 /* fragment reassembly header */
-#define MT_CONTROL 6 /* extra-data protocol message */
-#define MT_OOBDATA 7 /* expedited data */
+#define MT_SOCKET 3 /* socket structure */
+#define MT_PCB 4 /* protocol control block */
+#define MT_RTABLE 5 /* routing tables */
+#define MT_HTABLE 6 /* IMP host tables */
+#define MT_ATABLE 7 /* address resolution tables */
+#define MT_SONAME 8 /* socket name */
+#define MT_SOOPTS 10 /* socket options */
+#define MT_FTABLE 11 /* fragment reassembly header */
+#define MT_RIGHTS 12 /* access rights */
+#define MT_IFADDR 13 /* interface address */
+#define MT_CONTROL 14 /* extra-data protocol message */
+#define MT_OOBDATA 15 /* expedited data */
/* flags to m_get/MGET */
#define M_DONTWAIT M_NOWAIT
@@ -392,11 +399,19 @@ int mbtypes[] = { /* XXX */
M_FREE, /* MT_FREE 0 should be on free list */
M_MBUF, /* MT_DATA 1 dynamic (data) allocation */
M_MBUF, /* MT_HEADER 2 packet header */
- M_MBUF, /* MT_SONAME 3 socket name */
- M_SOOPTS, /* MT_SOOPTS 4 socket options */
- M_FTABLE, /* MT_FTABLE 5 fragment reassembly header */
- M_MBUF, /* MT_CONTROL 6 extra-data protocol message */
- M_MBUF, /* MT_OOBDATA 7 expedited data */
+ M_SOCKET, /* MT_SOCKET 3 socket structure */
+ M_PCB, /* MT_PCB 4 protocol control block */
+ M_RTABLE, /* MT_RTABLE 5 routing tables */
+ M_HTABLE, /* MT_HTABLE 6 IMP host tables */
+ 0, /* MT_ATABLE 7 address resolution tables */
+ M_MBUF, /* MT_SONAME 8 socket name */
+ 0, /* 9 */
+ M_SOOPTS, /* MT_SOOPTS 10 socket options */
+ M_FTABLE, /* MT_FTABLE 11 fragment reassembly header */
+ M_MBUF, /* MT_RIGHTS 12 access rights */
+ M_IFADDR, /* MT_IFADDR 13 interface address */
+ M_MBUF, /* MT_CONTROL 14 extra-data protocol message */
+ M_MBUF, /* MT_OOBDATA 15 expedited data */
#ifdef DATAKIT
25, 26, 27, 28, 29, 30, 31, 32 /* datakit ugliness */
#endif