Deleted Added
full compact
mbuf.h (98673) mbuf.h (98849)
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)mbuf.h 8.5 (Berkeley) 2/19/95
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)mbuf.h 8.5 (Berkeley) 2/19/95
34 * $FreeBSD: head/sys/sys/mbuf.h 98673 2002-06-23 12:06:40Z luigi $
34 * $FreeBSD: head/sys/sys/mbuf.h 98849 2002-06-26 03:37:47Z ken $
35 */
36
37#ifndef _SYS_MBUF_H_
38#define _SYS_MBUF_H_
39
40/*
41 * Mbufs are of a single size, MSIZE (machine/param.h), which
42 * includes overhead. An mbuf may add a single "mbuf cluster" of size

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

153
154/*
155 * External buffer types: identify ext_buf type.
156 */
157#define EXT_CLUSTER 1 /* mbuf cluster */
158#define EXT_SFBUF 2 /* sendfile(2)'s sf_bufs */
159#define EXT_NET_DRV 100 /* custom ext_buf provided by net driver(s) */
160#define EXT_MOD_TYPE 200 /* custom module's ext_buf type */
35 */
36
37#ifndef _SYS_MBUF_H_
38#define _SYS_MBUF_H_
39
40/*
41 * Mbufs are of a single size, MSIZE (machine/param.h), which
42 * includes overhead. An mbuf may add a single "mbuf cluster" of size

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

153
154/*
155 * External buffer types: identify ext_buf type.
156 */
157#define EXT_CLUSTER 1 /* mbuf cluster */
158#define EXT_SFBUF 2 /* sendfile(2)'s sf_bufs */
159#define EXT_NET_DRV 100 /* custom ext_buf provided by net driver(s) */
160#define EXT_MOD_TYPE 200 /* custom module's ext_buf type */
161#define EXT_DISPOSABLE 300 /* can throw this buffer away w/page flipping */
161
162/*
163 * Flags copied when copying m_pkthdr.
164 */
165#define M_COPYFLAGS (M_PKTHDR|M_EOR|M_PROTO1|M_PROTO1|M_PROTO2|M_PROTO3 | \
166 M_PROTO4|M_PROTO5|M_BCAST|M_MCAST|M_FRAG|M_RDONLY)
167
168/*

--- 338 unchanged lines hidden ---
162
163/*
164 * Flags copied when copying m_pkthdr.
165 */
166#define M_COPYFLAGS (M_PKTHDR|M_EOR|M_PROTO1|M_PROTO1|M_PROTO2|M_PROTO3 | \
167 M_PROTO4|M_PROTO5|M_BCAST|M_MCAST|M_FRAG|M_RDONLY)
168
169/*

--- 338 unchanged lines hidden ---