kernel: Sync ACPICA with Intel's version 20140424.
[dragonfly.git] / sys / netproto / atm / uni / unisig_mbuf.h
1 /*
2  *
3  * ===================================
4  * HARP  |  Host ATM Research Platform
5  * ===================================
6  *
7  *
8  * This Host ATM Research Platform ("HARP") file (the "Software") is
9  * made available by Network Computing Services, Inc. ("NetworkCS")
10  * "AS IS".  NetworkCS does not provide maintenance, improvements or
11  * support of any kind.
12  *
13  * NETWORKCS MAKES NO WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED,
14  * INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
15  * AND FITNESS FOR A PARTICULAR PURPOSE, AS TO ANY ELEMENT OF THE
16  * SOFTWARE OR ANY SUPPORT PROVIDED IN CONNECTION WITH THIS SOFTWARE.
17  * In no event shall NetworkCS be responsible for any damages, including
18  * but not limited to consequential damages, arising from or relating to
19  * any use of the Software or related support.
20  *
21  * Copyright 1994-1998 Network Computing Services, Inc.
22  *
23  * Copies of this Software may be made, however, the above copyright
24  * notice must be reproduced on all copies.
25  *
26  *      @(#) $FreeBSD: src/sys/netatm/uni/unisig_mbuf.h,v 1.2 1999/08/28 00:49:06 peter Exp $
27  *      @(#) $DragonFly: src/sys/netproto/atm/uni/unisig_mbuf.h,v 1.2 2003/06/17 04:28:49 dillon Exp $
28  *
29  */
30
31 /*
32  * ATM Forum UNI 3.0/3.1 Signalling Manager
33  * ----------------------------------------
34  *
35  * Message buffer formats
36  *
37  */
38
39 #ifndef _UNI_SIG_MBUF_H
40 #define _UNI_SIG_MBUF_H
41
42
43 /*
44  * Structure for message encoding/decoding information.
45  */
46 struct usfmt {
47         KBuffer         *usf_m_addr;    /* Current buffer */
48         KBuffer         *usf_m_base;    /* First buffer in chain */
49         int             usf_loc;        /* Offset in current buffer */
50         int             usf_op;         /* Operation (see below) */
51         struct unisig   *usf_sig;       /* UNI signalling instance */
52 };
53
54 #define USF_ENCODE      1
55 #define USF_DECODE      2
56
57 #define USF_MIN_ALLOC   MHLEN           /* Minimum encoding buffer size */
58
59 #endif  /* _UNI_SIG_MBUF_H */