Deleted Added
full compact
unimsg.h (121326) unimsg.h (131826)
1/*
2 * Copyright (c) 1996-2003
3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4 * All rights reserved.
5 *
1/*
2 * Copyright (c) 1996-2003
3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4 * All rights reserved.
5 *
6 * Author: Hartmut Brandt <harti@freebsd.org>
7 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.

--- 5 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.

--- 5 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
27 * Author: Hartmut Brandt <harti@freebsd.org>
29 * $Begemot: libunimsg/netnatm/unimsg.h,v 1.4 2004/07/08 08:21:46 brandt Exp $
28 *
30 *
29 * $Begemot: libunimsg/atm/unimsg.h,v 1.3 2003/09/19 11:52:40 hbb Exp $
30 *
31 * This defines the structure of messages as handled by this library.
32 */
33#ifndef _NETNATM_UNIMSG_H_
34#define _NETNATM_UNIMSG_H_
35
36#include <sys/types.h>
37#ifdef _KERNEL
38#ifdef __FreeBSD__
39#include <sys/systm.h>
40#endif
31 * This defines the structure of messages as handled by this library.
32 */
33#ifndef _NETNATM_UNIMSG_H_
34#define _NETNATM_UNIMSG_H_
35
36#include <sys/types.h>
37#ifdef _KERNEL
38#ifdef __FreeBSD__
39#include <sys/systm.h>
40#endif
41#include <sys/stdint.h>
41#else
42#include <string.h>
42#else
43#include <string.h>
44#include <stdint.h>
43#endif
44
45struct uni_msg {
46 u_char *b_wptr; /* tail pointer */
47 u_char *b_rptr; /* head pointer */
48 u_char *b_buf; /* data buffer */
49 u_char *b_lim; /* end of data buffer */
50};

--- 40 unchanged lines hidden ---
45#endif
46
47struct uni_msg {
48 u_char *b_wptr; /* tail pointer */
49 u_char *b_rptr; /* head pointer */
50 u_char *b_buf; /* data buffer */
51 u_char *b_lim; /* end of data buffer */
52};

--- 40 unchanged lines hidden ---