Deleted Added
full compact
mbuf.h (155780) mbuf.h (156756)
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 155780 2006-02-17 14:14:15Z andre $
30 * $FreeBSD: head/sys/sys/mbuf.h 156756 2006-03-15 21:11:11Z sam $
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

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

672void m_move_pkthdr(struct mbuf *, struct mbuf *);
673struct mbuf *m_prepend(struct mbuf *, int, int);
674void m_print(const struct mbuf *, int);
675struct mbuf *m_pulldown(struct mbuf *, int, int, int *);
676struct mbuf *m_pullup(struct mbuf *, int);
677int m_sanity(struct mbuf *, int);
678struct mbuf *m_split(struct mbuf *, int, int);
679struct mbuf *m_uiotombuf(struct uio *, int, 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

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

672void m_move_pkthdr(struct mbuf *, struct mbuf *);
673struct mbuf *m_prepend(struct mbuf *, int, int);
674void m_print(const struct mbuf *, int);
675struct mbuf *m_pulldown(struct mbuf *, int, int, int *);
676struct mbuf *m_pullup(struct mbuf *, int);
677int m_sanity(struct mbuf *, int);
678struct mbuf *m_split(struct mbuf *, int, int);
679struct mbuf *m_uiotombuf(struct uio *, int, int, int);
680struct mbuf *m_unshare(struct mbuf *, int how);
680
681/*-
682 * Network packets may have annotations attached by affixing a list
683 * of "packet tags" to the pkthdr structure. Packet tags are
684 * dynamically allocated semi-opaque data structures that have
685 * a fixed header (struct m_tag) that specifies the size of the
686 * memory block and a <cookie,type> pair that identifies it.
687 * The cookie is a 32-bit unique unsigned value used to identify

--- 178 unchanged lines hidden ---
681
682/*-
683 * Network packets may have annotations attached by affixing a list
684 * of "packet tags" to the pkthdr structure. Packet tags are
685 * dynamically allocated semi-opaque data structures that have
686 * a fixed header (struct m_tag) that specifies the size of the
687 * memory block and a <cookie,type> pair that identifies it.
688 * The cookie is a 32-bit unique unsigned value used to identify

--- 178 unchanged lines hidden ---