Deleted Added
full compact
mbuf.h (135274) mbuf.h (135904)
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

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

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 *
29 * @(#)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

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

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 *
29 * @(#)mbuf.h 8.5 (Berkeley) 2/19/95
30 * $FreeBSD: head/sys/sys/mbuf.h 135274 2004-09-15 20:13:26Z andre $
30 * $FreeBSD: head/sys/sys/mbuf.h 135904 2004-09-28 18:40:18Z jmg $
31 */
32
33#ifndef _SYS_MBUF_H_
34#define _SYS_MBUF_H_
35
36/* XXX: These includes suck. Sorry! */
37#include <sys/queue.h>
38#ifdef _KERNEL

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

551u_int m_fixhdr(struct mbuf *);
552struct mbuf *m_fragment(struct mbuf *, int, int);
553void m_freem(struct mbuf *);
554struct mbuf *m_getm(struct mbuf *, int, int, short);
555struct mbuf *m_getptr(struct mbuf *, int, int *);
556u_int m_length(struct mbuf *, struct mbuf **);
557void m_move_pkthdr(struct mbuf *, struct mbuf *);
558struct mbuf *m_prepend(struct mbuf *, int, int);
31 */
32
33#ifndef _SYS_MBUF_H_
34#define _SYS_MBUF_H_
35
36/* XXX: These includes suck. Sorry! */
37#include <sys/queue.h>
38#ifdef _KERNEL

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

551u_int m_fixhdr(struct mbuf *);
552struct mbuf *m_fragment(struct mbuf *, int, int);
553void m_freem(struct mbuf *);
554struct mbuf *m_getm(struct mbuf *, int, int, short);
555struct mbuf *m_getptr(struct mbuf *, int, int *);
556u_int m_length(struct mbuf *, struct mbuf **);
557void m_move_pkthdr(struct mbuf *, struct mbuf *);
558struct mbuf *m_prepend(struct mbuf *, int, int);
559void m_print(const struct mbuf *);
559void m_print(const struct mbuf *, int);
560struct mbuf *m_pulldown(struct mbuf *, int, int, int *);
561struct mbuf *m_pullup(struct mbuf *, int);
562struct mbuf *m_split(struct mbuf *, int, int);
563struct mbuf *m_uiotombuf(struct uio *, int, int);
564
565/*-
566 * Network packets may have annotations attached by affixing a list
567 * of "packet tags" to the pkthdr structure. Packet tags are

--- 176 unchanged lines hidden ---
560struct mbuf *m_pulldown(struct mbuf *, int, int, int *);
561struct mbuf *m_pullup(struct mbuf *, int);
562struct mbuf *m_split(struct mbuf *, int, int);
563struct mbuf *m_uiotombuf(struct uio *, int, int);
564
565/*-
566 * Network packets may have annotations attached by affixing a list
567 * of "packet tags" to the pkthdr structure. Packet tags are

--- 176 unchanged lines hidden ---