mbuf.h (38513) | mbuf.h (40931) |
---|---|
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 * $Id: mbuf.h,v 1.28 1998/08/23 03:07:17 wollman Exp $ | 34 * $Id: mbuf.h,v 1.29 1998/08/24 07:47:38 dfr Exp $ |
35 */ 36 37#ifndef _SYS_MBUF_H_ 38#define _SYS_MBUF_H_ 39 40/* 41 * Mbufs are of a single size, MSIZE (machine/machparam.h), which 42 * includes overhead. An mbuf may add a single "mbuf cluster" of size --- 342 unchanged lines hidden (view full) --- 385}; 386 387#ifdef KERNEL 388extern struct mbuf *mbutl; /* virtual address of mclusters */ 389extern char *mclrefcnt; /* cluster reference counts */ 390extern struct mbstat mbstat; 391extern int nmbclusters; 392extern int nmbufs; | 35 */ 36 37#ifndef _SYS_MBUF_H_ 38#define _SYS_MBUF_H_ 39 40/* 41 * Mbufs are of a single size, MSIZE (machine/machparam.h), which 42 * includes overhead. An mbuf may add a single "mbuf cluster" of size --- 342 unchanged lines hidden (view full) --- 385}; 386 387#ifdef KERNEL 388extern struct mbuf *mbutl; /* virtual address of mclusters */ 389extern char *mclrefcnt; /* cluster reference counts */ 390extern struct mbstat mbstat; 391extern int nmbclusters; 392extern int nmbufs; |
393extern int nsfbufs; |
|
393extern struct mbuf *mmbfree; 394extern union mcluster *mclfree; 395extern int max_linkhdr; /* largest link-level header */ 396extern int max_protohdr; /* largest protocol header */ 397extern int max_hdr; /* largest link+protocol header */ 398extern int max_datalen; /* MHLEN - max_hdr */ 399 400struct mbuf *m_copym __P((struct mbuf *, int, int, int)); --- 22 unchanged lines hidden --- | 394extern struct mbuf *mmbfree; 395extern union mcluster *mclfree; 396extern int max_linkhdr; /* largest link-level header */ 397extern int max_protohdr; /* largest protocol header */ 398extern int max_hdr; /* largest link+protocol header */ 399extern int max_datalen; /* MHLEN - max_hdr */ 400 401struct mbuf *m_copym __P((struct mbuf *, int, int, int)); --- 22 unchanged lines hidden --- |