Deleted Added
full compact
if_var.h (240099) if_var.h (240112)
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * From: @(#)if.h 8.1 (Berkeley) 6/10/93
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * From: @(#)if.h 8.1 (Berkeley) 6/10/93
30 * $FreeBSD: head/sys/net/if_var.h 240099 2012-09-04 19:43:26Z melifaro $
30 * $FreeBSD: head/sys/net/if_var.h 240112 2012-09-04 22:17:33Z melifaro $
31 */
32
33#ifndef _NET_IF_VAR_H_
34#define _NET_IF_VAR_H_
35
36/*
37 * Structures defining a network interface, providing a packet
38 * transport mechanism (ala level 0 of the PUP protocols).

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

94
95#include <altq/if_altq.h>
96
97TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
98TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */
99TAILQ_HEAD(ifmultihead, ifmultiaddr);
100TAILQ_HEAD(ifgrouphead, ifg_group);
101
31 */
32
33#ifndef _NET_IF_VAR_H_
34#define _NET_IF_VAR_H_
35
36/*
37 * Structures defining a network interface, providing a packet
38 * transport mechanism (ala level 0 of the PUP protocols).

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

94
95#include <altq/if_altq.h>
96
97TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
98TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */
99TAILQ_HEAD(ifmultihead, ifmultiaddr);
100TAILQ_HEAD(ifgrouphead, ifg_group);
101
102#ifdef _KERNEL
102VNET_DECLARE(struct pfil_head, link_pfil_hook); /* packet filter hooks */
103#define V_link_pfil_hook VNET(link_pfil_hook)
103VNET_DECLARE(struct pfil_head, link_pfil_hook); /* packet filter hooks */
104#define V_link_pfil_hook VNET(link_pfil_hook)
105#endif /* _KERNEL */
104
105/*
106 * Structure defining a queue for a network interface.
107 */
108struct ifqueue {
109 struct mbuf *ifq_head;
110 struct mbuf *ifq_tail;
111 int ifq_len;

--- 802 unchanged lines hidden ---
106
107/*
108 * Structure defining a queue for a network interface.
109 */
110struct ifqueue {
111 struct mbuf *ifq_head;
112 struct mbuf *ifq_tail;
113 int ifq_len;

--- 802 unchanged lines hidden ---