Deleted Added
full compact
ip_fw_iface.c (302408) ip_fw_iface.c (317042)
1/*-
2 * Copyright (c) 2014 Yandex LLC.
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.

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

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#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2014 Yandex LLC.
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.

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

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#include <sys/cdefs.h>
27__FBSDID("$FreeBSD: stable/11/sys/netpfil/ipfw/ip_fw_iface.c 299152 2016-05-06 03:18:51Z ae $");
27__FBSDID("$FreeBSD: stable/11/sys/netpfil/ipfw/ip_fw_iface.c 317042 2017-04-17 09:34:09Z ae $");
28
29/*
30 * Kernel interface tracking API.
31 *
32 */
33
34#include "opt_ipfw.h"
35#include "opt_inet.h"

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

45#include <sys/lock.h>
46#include <sys/rwlock.h>
47#include <sys/rmlock.h>
48#include <sys/socket.h>
49#include <sys/queue.h>
50#include <sys/eventhandler.h>
51#include <net/if.h>
52#include <net/if_var.h>
28
29/*
30 * Kernel interface tracking API.
31 *
32 */
33
34#include "opt_ipfw.h"
35#include "opt_inet.h"

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

45#include <sys/lock.h>
46#include <sys/rwlock.h>
47#include <sys/rmlock.h>
48#include <sys/socket.h>
49#include <sys/queue.h>
50#include <sys/eventhandler.h>
51#include <net/if.h>
52#include <net/if_var.h>
53#include <net/pfil.h>
53#include <net/vnet.h>
54
55#include <netinet/in.h>
56#include <netinet/ip_var.h> /* struct ipfw_rule_ref */
57#include <netinet/ip_fw.h>
58
59#include <netpfil/ipfw/ip_fw_private.h>
60

--- 479 unchanged lines hidden ---
54#include <net/vnet.h>
55
56#include <netinet/in.h>
57#include <netinet/ip_var.h> /* struct ipfw_rule_ref */
58#include <netinet/ip_fw.h>
59
60#include <netpfil/ipfw/ip_fw_private.h>
61

--- 479 unchanged lines hidden ---