Deleted Added
full compact
mbuf.h (268530) mbuf.h (268535)
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 268530 2014-07-11 14:34:29Z glebius $
31 * $FreeBSD: head/sys/sys/mbuf.h 268535 2014-07-11 19:40:50Z 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

--- 329 unchanged lines hidden (view full) ---

369 */
370#define EXT_FLAG_BITS \
371 "\20\1EXT_FLAG_EMBREF\2EXT_FLAG_EXTREF\5EXT_FLAG_NOFREE" \
372 "\21EXT_FLAG_VENDOR1\22EXT_FLAG_VENDOR2\23EXT_FLAG_VENDOR3" \
373 "\24EXT_FLAG_VENDOR4\25EXT_FLAG_EXP1\26EXT_FLAG_EXP2\27EXT_FLAG_EXP3" \
374 "\30EXT_FLAG_EXP4"
375
376/*
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

--- 329 unchanged lines hidden (view full) ---

369 */
370#define EXT_FLAG_BITS \
371 "\20\1EXT_FLAG_EMBREF\2EXT_FLAG_EXTREF\5EXT_FLAG_NOFREE" \
372 "\21EXT_FLAG_VENDOR1\22EXT_FLAG_VENDOR2\23EXT_FLAG_VENDOR3" \
373 "\24EXT_FLAG_VENDOR4\25EXT_FLAG_EXP1\26EXT_FLAG_EXP2\27EXT_FLAG_EXP3" \
374 "\30EXT_FLAG_EXP4"
375
376/*
377 * External reference/free functions.
378 */
379void sf_ext_ref(void *, void *);
380void sf_ext_free(void *, void *);
381
382/*
377 * Flags indicating checksum, segmentation and other offload work to be
378 * done, or already done, by hardware or lower layers. It is split into
379 * separate inbound and outbound flags.
380 *
381 * Outbound flags that are set by upper protocol layers requesting lower
382 * layers, or ideally the hardware, to perform these offloading tasks.
383 * For outbound packets this field and its flags can be directly tested
384 * against if_data.ifi_hwassist.

--- 779 unchanged lines hidden ---
383 * Flags indicating checksum, segmentation and other offload work to be
384 * done, or already done, by hardware or lower layers. It is split into
385 * separate inbound and outbound flags.
386 *
387 * Outbound flags that are set by upper protocol layers requesting lower
388 * layers, or ideally the hardware, to perform these offloading tasks.
389 * For outbound packets this field and its flags can be directly tested
390 * against if_data.ifi_hwassist.

--- 779 unchanged lines hidden ---