Deleted Added
full compact
if_var.h (168561) if_var.h (168793)
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 168561 2007-04-10 00:27:25Z thompsa $
30 * $FreeBSD: head/sys/net/if_var.h 168793 2007-04-17 00:35:11Z thompsa $
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).

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

181 struct mtx if_afdata_mtx;
182 struct task if_starttask; /* task for IFF_NEEDSGIANT */
183 struct task if_linktask; /* task for link change events */
184 struct mtx if_addr_mtx; /* mutex to protect address lists */
185 LIST_ENTRY(ifnet) if_clones; /* interfaces of a cloner */
186 TAILQ_HEAD(, ifg_list) if_groups; /* linked list of groups per if */
187 /* protected by if_addr_mtx */
188 void *if_pf_kif;
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).

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

181 struct mtx if_afdata_mtx;
182 struct task if_starttask; /* task for IFF_NEEDSGIANT */
183 struct task if_linktask; /* task for link change events */
184 struct mtx if_addr_mtx; /* mutex to protect address lists */
185 LIST_ENTRY(ifnet) if_clones; /* interfaces of a cloner */
186 TAILQ_HEAD(, ifg_list) if_groups; /* linked list of groups per if */
187 /* protected by if_addr_mtx */
188 void *if_pf_kif;
189 void *if_trunk; /* trunk glue */
189 void *if_lagg; /* lagg glue */
190};
191
192typedef void if_init_f_t(void *);
193
194/*
195 * XXX These aliases are terribly dangerous because they could apply
196 * to anything.
197 */

--- 518 unchanged lines hidden ---
190};
191
192typedef void if_init_f_t(void *);
193
194/*
195 * XXX These aliases are terribly dangerous because they could apply
196 * to anything.
197 */

--- 518 unchanged lines hidden ---