mbuf.h (103540) | mbuf.h (103544) |
---|---|
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 103540 2002-09-18 13:41:37Z phk $ | 34 * $FreeBSD: head/sys/sys/mbuf.h 103544 2002-09-18 14:57:35Z phk $ |
35 */ 36 37#ifndef _SYS_MBUF_H_ 38#define _SYS_MBUF_H_ 39 40#include <sys/_label.h> 41 42/* --- 441 unchanged lines hidden (view full) --- 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); | 35 */ 36 37#ifndef _SYS_MBUF_H_ 38#define _SYS_MBUF_H_ 39 40#include <sys/_label.h> 41 42/* --- 441 unchanged lines hidden (view full) --- 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); |
492int m_length(struct mbuf *m, struct mbuf **l); |
|
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_ */ | 493struct mbuf *m_prepend(struct mbuf *, int, int); 494void m_print(const struct mbuf *m); 495struct mbuf *m_pulldown(struct mbuf *, int, int, int *); 496struct mbuf *m_pullup(struct mbuf *, int); 497struct mbuf *m_split(struct mbuf *, int, int); 498#endif /* _KERNEL */ 499 500#endif /* !_SYS_MBUF_H_ */ |