Deleted Added
full compact
if_var.h (202935) if_var.h (203052)
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 202935 2010-01-24 16:17:58Z syrinx $
30 * $FreeBSD: head/sys/net/if_var.h 203052 2010-01-27 00:30:07Z delphij $
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).

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

198 u_char if_alloctype; /* if_type at time of allocation */
199
200 /*
201 * Spare fields are added so that we can modify sensitive data
202 * structures without changing the kernel binary interface, and must
203 * be used with care where binary compatibility is required.
204 */
205 char if_cspare[3];
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).

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

198 u_char if_alloctype; /* if_type at time of allocation */
199
200 /*
201 * Spare fields are added so that we can modify sensitive data
202 * structures without changing the kernel binary interface, and must
203 * be used with care where binary compatibility is required.
204 */
205 char if_cspare[3];
206 void *if_pspare[8];
206 char *if_description; /* interface description */
207 void *if_pspare[7];
207 int if_ispare[4];
208};
209
210typedef void if_init_f_t(void *);
211
212/*
213 * XXX These aliases are terribly dangerous because they could apply
214 * to anything.

--- 677 unchanged lines hidden ---
208 int if_ispare[4];
209};
210
211typedef void if_init_f_t(void *);
212
213/*
214 * XXX These aliases are terribly dangerous because they could apply
215 * to anything.

--- 677 unchanged lines hidden ---