equal
deleted
inserted
replaced
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
19 * |
19 * |
20 * CDDL HEADER END |
20 * CDDL HEADER END |
21 */ |
21 */ |
22 /* |
22 /* |
23 * Copyright 1992-2001, 2003 Sun Microsystems, Inc. All rights reserved. |
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
24 * Use is subject to license terms. |
24 * Use is subject to license terms. |
25 */ |
25 */ |
26 /* Copyright (c) 1990 Mentat Inc. */ |
26 /* Copyright (c) 1990 Mentat Inc. */ |
27 |
27 |
28 #ifndef _INET_COMMON_H |
28 #ifndef _INET_COMMON_H |
95 |
95 |
96 #define INET_MIN_DEV 2 /* minimum minor device number */ |
96 #define INET_MIN_DEV 2 /* minimum minor device number */ |
97 #define INET_MAXMINOR MAXMIN /* maximum device minor number */ |
97 #define INET_MAXMINOR MAXMIN /* maximum device minor number */ |
98 |
98 |
99 #ifdef _KERNEL |
99 #ifdef _KERNEL |
|
100 #include <sys/stream.h> |
100 |
101 |
101 extern void inet_init(void); |
|
102 extern void inet_destroy(void); |
|
103 extern void *inet_minor_create(char *, dev_t, int); |
102 extern void *inet_minor_create(char *, dev_t, int); |
104 extern void inet_minor_destroy(void *); |
103 extern void inet_minor_destroy(void *); |
105 extern dev_t inet_minor_alloc(void *); |
104 extern dev_t inet_minor_alloc(void *); |
106 extern void inet_minor_free(void *, dev_t); |
105 extern void inet_minor_free(void *, dev_t); |
|
106 extern void inet_freemsg(mblk_t *); |
107 |
107 |
108 #endif /* _KERNEL */ |
108 #endif /* _KERNEL */ |
109 |
109 |
110 #ifdef __cplusplus |
110 #ifdef __cplusplus |
111 } |
111 } |