mbuf.h (148095) | mbuf.h (148552) |
---|---|
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 148095 2005-07-17 14:04:03Z rwatson $ | 30 * $FreeBSD: head/sys/sys/mbuf.h 148552 2005-07-30 01:32:16Z 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 --- 519 unchanged lines hidden (view full) --- 558extern int max_linkhdr; /* Largest link-level header */ 559extern int max_protohdr; /* Largest protocol header */ 560extern struct mbstat mbstat; /* General mbuf stats/infos */ 561extern int nmbclusters; /* Maximum number of clusters */ 562 563struct uio; 564 565void m_adj(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 --- 519 unchanged lines hidden (view full) --- 558extern int max_linkhdr; /* Largest link-level header */ 559extern int max_protohdr; /* Largest protocol header */ 560extern struct mbstat mbstat; /* General mbuf stats/infos */ 561extern int nmbclusters; /* Maximum number of clusters */ 562 563struct uio; 564 565void m_adj(struct mbuf *, int); |
566void m_align(struct mbuf *, int); |
|
566int m_apply(struct mbuf *, int, int, 567 int (*)(void *, void *, u_int), void *); 568int m_append(struct mbuf *, int, c_caddr_t); 569void m_cat(struct mbuf *, struct mbuf *); 570void m_extadd(struct mbuf *, caddr_t, u_int, 571 void (*)(void *, void *), void *, int, int); 572void m_copyback(struct mbuf *, int, int, c_caddr_t); 573void m_copydata(const struct mbuf *, int, int, caddr_t); --- 204 unchanged lines hidden --- | 567int m_apply(struct mbuf *, int, int, 568 int (*)(void *, void *, u_int), void *); 569int m_append(struct mbuf *, int, c_caddr_t); 570void m_cat(struct mbuf *, struct mbuf *); 571void m_extadd(struct mbuf *, caddr_t, u_int, 572 void (*)(void *, void *), void *, int, int); 573void m_copyback(struct mbuf *, int, int, c_caddr_t); 574void m_copydata(const struct mbuf *, int, int, caddr_t); --- 204 unchanged lines hidden --- |