mbuf.h (286450) | mbuf.h (289276) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * @(#)mbuf.h 8.5 (Berkeley) 2/19/95 | 1/*- 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * @(#)mbuf.h 8.5 (Berkeley) 2/19/95 |
31 * $FreeBSD: head/sys/sys/mbuf.h 286450 2015-08-08 15:50:46Z melifaro $ | 31 * $FreeBSD: head/sys/sys/mbuf.h 289276 2015-10-14 00:35:37Z hiren $ |
32 */ 33 34#ifndef _SYS_MBUF_H_ 35#define _SYS_MBUF_H_ 36 37/* XXX: These includes suck. Sorry! */ 38#include <sys/queue.h> 39#ifdef _KERNEL --- 479 unchanged lines hidden (view full) --- 519extern uma_zone_t zone_mbuf; 520extern uma_zone_t zone_clust; 521extern uma_zone_t zone_pack; 522extern uma_zone_t zone_jumbop; 523extern uma_zone_t zone_jumbo9; 524extern uma_zone_t zone_jumbo16; 525extern uma_zone_t zone_ext_refcnt; 526 | 32 */ 33 34#ifndef _SYS_MBUF_H_ 35#define _SYS_MBUF_H_ 36 37/* XXX: These includes suck. Sorry! */ 38#include <sys/queue.h> 39#ifdef _KERNEL --- 479 unchanged lines hidden (view full) --- 519extern uma_zone_t zone_mbuf; 520extern uma_zone_t zone_clust; 521extern uma_zone_t zone_pack; 522extern uma_zone_t zone_jumbop; 523extern uma_zone_t zone_jumbo9; 524extern uma_zone_t zone_jumbo16; 525extern uma_zone_t zone_ext_refcnt; 526 |
527void mb_dupcl(struct mbuf *, const struct mbuf *); |
|
527void mb_free_ext(struct mbuf *); 528int m_pkthdr_init(struct mbuf *, int); 529 530static __inline int 531m_gettype(int size) 532{ 533 int type; 534 --- 776 unchanged lines hidden --- | 528void mb_free_ext(struct mbuf *); 529int m_pkthdr_init(struct mbuf *, int); 530 531static __inline int 532m_gettype(int size) 533{ 534 int type; 535 --- 776 unchanged lines hidden --- |