mbuf.h (273741) | mbuf.h (275329) |
---|---|
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 273741 2014-10-27 16:13:51Z glebius $ | 31 * $FreeBSD: head/sys/sys/mbuf.h 275329 2014-11-30 13:24:21Z glebius $ |
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 --- 905 unchanged lines hidden (view full) --- 945void m_copydata(const struct mbuf *, int, int, caddr_t); 946struct mbuf *m_copym(struct mbuf *, int, int, int); 947struct mbuf *m_copymdata(struct mbuf *, struct mbuf *, 948 int, int, int, int); 949struct mbuf *m_copypacket(struct mbuf *, int); 950void m_copy_pkthdr(struct mbuf *, struct mbuf *); 951struct mbuf *m_copyup(struct mbuf *, int, int); 952struct mbuf *m_defrag(struct mbuf *, int); | 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 --- 905 unchanged lines hidden (view full) --- 945void m_copydata(const struct mbuf *, int, int, caddr_t); 946struct mbuf *m_copym(struct mbuf *, int, int, int); 947struct mbuf *m_copymdata(struct mbuf *, struct mbuf *, 948 int, int, int, int); 949struct mbuf *m_copypacket(struct mbuf *, int); 950void m_copy_pkthdr(struct mbuf *, struct mbuf *); 951struct mbuf *m_copyup(struct mbuf *, int, int); 952struct mbuf *m_defrag(struct mbuf *, int); |
953void m_demote(struct mbuf *, int); | 953void m_demote(struct mbuf *, int, int); |
954struct mbuf *m_devget(char *, int, int, struct ifnet *, 955 void (*)(char *, caddr_t, u_int)); 956struct mbuf *m_dup(struct mbuf *, int); 957int m_dup_pkthdr(struct mbuf *, struct mbuf *, int); 958u_int m_fixhdr(struct mbuf *); 959struct mbuf *m_fragment(struct mbuf *, int, int); 960void m_freem(struct mbuf *); 961struct mbuf *m_get2(int, int, short, int); --- 235 unchanged lines hidden --- | 954struct mbuf *m_devget(char *, int, int, struct ifnet *, 955 void (*)(char *, caddr_t, u_int)); 956struct mbuf *m_dup(struct mbuf *, int); 957int m_dup_pkthdr(struct mbuf *, struct mbuf *, int); 958u_int m_fixhdr(struct mbuf *); 959struct mbuf *m_fragment(struct mbuf *, int, int); 960void m_freem(struct mbuf *); 961struct mbuf *m_get2(int, int, short, int); --- 235 unchanged lines hidden --- |