Deleted Added
full compact
netmap_offloadings.c (270063) netmap_offloadings.c (295126)
1/*
2 * Copyright (C) 2014 Vincenzo Maffione. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
1/*
2 * Copyright (C) 2014 Vincenzo Maffione. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26/* $FreeBSD: head/sys/dev/netmap/netmap_offloadings.c 270063 2014-08-16 15:00:01Z luigi $ */
26/* $FreeBSD: head/sys/dev/netmap/netmap_offloadings.c 295126 2016-02-01 17:41:21Z glebius $ */
27
28#if defined(__FreeBSD__)
29#include <sys/cdefs.h> /* prerequisite */
30
31#include <sys/types.h>
32#include <sys/errno.h>
33#include <sys/param.h> /* defines used in kernel.h */
27
28#if defined(__FreeBSD__)
29#include <sys/cdefs.h> /* prerequisite */
30
31#include <sys/types.h>
32#include <sys/errno.h>
33#include <sys/param.h> /* defines used in kernel.h */
34#include <sys/malloc.h> /* types used in module initialization */
34#include <sys/kernel.h> /* types used in module initialization */
35#include <sys/sockio.h>
36#include <sys/socketvar.h> /* struct socket */
37#include <sys/socket.h> /* sockaddrs */
38#include <net/if.h>
39#include <net/if_var.h>
40#include <machine/bus.h> /* bus_dmamap_* */
41#include <sys/endian.h>

--- 360 unchanged lines hidden ---
35#include <sys/kernel.h> /* types used in module initialization */
36#include <sys/sockio.h>
37#include <sys/socketvar.h> /* struct socket */
38#include <sys/socket.h> /* sockaddrs */
39#include <net/if.h>
40#include <net/if_var.h>
41#include <machine/bus.h> /* bus_dmamap_* */
42#include <sys/endian.h>

--- 360 unchanged lines hidden ---