Deleted Added
full compact
mbuf.h (101918) mbuf.h (103540)
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 101918 2002-08-15 14:09:16Z bmilekic $
34 * $FreeBSD: head/sys/sys/mbuf.h 103540 2002-09-18 13:41:37Z phk $
35 */
36
37#ifndef _SYS_MBUF_H_
38#define _SYS_MBUF_H_
39
40#include <sys/_label.h>
41
42/*

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

475void m_copyback(struct mbuf *, int, int, caddr_t);
476void m_copydata(const struct mbuf *, int, int, caddr_t);
477struct mbuf *m_copym(struct mbuf *, int, int, int);
478struct mbuf *m_copypacket(struct mbuf *, int);
479void m_copy_pkthdr(struct mbuf *to, struct mbuf *from);
480struct mbuf *m_devget(char *, int, int, struct ifnet *,
481 void (*copy)(char *, caddr_t, u_int));
482struct mbuf *m_dup(struct mbuf *, int);
35 */
36
37#ifndef _SYS_MBUF_H_
38#define _SYS_MBUF_H_
39
40#include <sys/_label.h>
41
42/*

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

475void m_copyback(struct mbuf *, int, int, caddr_t);
476void m_copydata(const struct mbuf *, int, int, caddr_t);
477struct mbuf *m_copym(struct mbuf *, int, int, int);
478struct mbuf *m_copypacket(struct mbuf *, int);
479void m_copy_pkthdr(struct mbuf *to, struct mbuf *from);
480struct mbuf *m_devget(char *, int, int, struct ifnet *,
481 void (*copy)(char *, caddr_t, u_int));
482struct mbuf *m_dup(struct mbuf *, int);
483int m_fixhdr(struct mbuf *m);
483struct mbuf *m_free(struct mbuf *);
484void m_freem(struct mbuf *);
485struct mbuf *m_get(int, short);
486struct mbuf *m_get_clrd(int, short);
487struct mbuf *m_getcl(int, short, int);
488struct mbuf *m_gethdr(int, short);
489struct mbuf *m_gethdr_clrd(int, short);
490struct mbuf *m_getm(struct mbuf *, int, int, short);
491struct mbuf *m_prepend(struct mbuf *, int, int);
492void m_print(const struct mbuf *m);
493struct mbuf *m_pulldown(struct mbuf *, int, int, int *);
494struct mbuf *m_pullup(struct mbuf *, int);
495struct mbuf *m_split(struct mbuf *, int, int);
496#endif /* _KERNEL */
497
498#endif /* !_SYS_MBUF_H_ */
484struct mbuf *m_free(struct mbuf *);
485void m_freem(struct mbuf *);
486struct mbuf *m_get(int, short);
487struct mbuf *m_get_clrd(int, short);
488struct mbuf *m_getcl(int, short, int);
489struct mbuf *m_gethdr(int, short);
490struct mbuf *m_gethdr_clrd(int, short);
491struct mbuf *m_getm(struct mbuf *, int, int, short);
492struct mbuf *m_prepend(struct mbuf *, int, int);
493void m_print(const struct mbuf *m);
494struct mbuf *m_pulldown(struct mbuf *, int, int, int *);
495struct mbuf *m_pullup(struct mbuf *, int);
496struct mbuf *m_split(struct mbuf *, int, int);
497#endif /* _KERNEL */
498
499#endif /* !_SYS_MBUF_H_ */