Deleted Added
full compact
mbuf.h (149643) mbuf.h (149647)
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 149643 2005-08-30 20:07:49Z andre $
30 * $FreeBSD: head/sys/sys/mbuf.h 149647 2005-08-30 21:14:30Z andre $
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

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

574void m_copydata(const struct mbuf *, int, int, caddr_t);
575struct mbuf *m_copym(struct mbuf *, int, int, int);
576struct mbuf *m_copymdata(struct mbuf *, struct mbuf *,
577 int, int, int, int);
578struct mbuf *m_copypacket(struct mbuf *, int);
579void m_copy_pkthdr(struct mbuf *, struct mbuf *);
580struct mbuf *m_copyup(struct mbuf *n, int len, int dstoff);
581struct mbuf *m_defrag(struct mbuf *, 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

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

574void m_copydata(const struct mbuf *, int, int, caddr_t);
575struct mbuf *m_copym(struct mbuf *, int, int, int);
576struct mbuf *m_copymdata(struct mbuf *, struct mbuf *,
577 int, int, int, int);
578struct mbuf *m_copypacket(struct mbuf *, int);
579void m_copy_pkthdr(struct mbuf *, struct mbuf *);
580struct mbuf *m_copyup(struct mbuf *n, int len, int dstoff);
581struct mbuf *m_defrag(struct mbuf *, int);
582void m_demote(struct mbuf *);
582void m_demote(struct mbuf *, int);
583struct mbuf *m_devget(char *, int, int, struct ifnet *,
584 void (*)(char *, caddr_t, u_int));
585struct mbuf *m_dup(struct mbuf *, int);
586int m_dup_pkthdr(struct mbuf *, struct mbuf *, int);
587u_int m_fixhdr(struct mbuf *);
588struct mbuf *m_fragment(struct mbuf *, int, int);
589void m_freem(struct mbuf *);
590struct mbuf *m_getm(struct mbuf *, int, int, short);

--- 192 unchanged lines hidden ---
583struct mbuf *m_devget(char *, int, int, struct ifnet *,
584 void (*)(char *, caddr_t, u_int));
585struct mbuf *m_dup(struct mbuf *, int);
586int m_dup_pkthdr(struct mbuf *, struct mbuf *, int);
587u_int m_fixhdr(struct mbuf *);
588struct mbuf *m_fragment(struct mbuf *, int, int);
589void m_freem(struct mbuf *);
590struct mbuf *m_getm(struct mbuf *, int, int, short);

--- 192 unchanged lines hidden ---