Deleted Added
full compact
if.h (5099) if.h (5181)
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)if.h 8.1 (Berkeley) 6/10/93
34 * $Id: if.h,v 1.10 1994/11/16 02:16:18 phk Exp $
34 * $Id: if.h,v 1.11 1994/12/13 22:31:44 wollman Exp $
35 */
36
37#ifndef _NET_IF_H_
38#define _NET_IF_H_
39
40/*
41 * Structures defining a network interface, providing a packet
42 * transport mechanism (ala level 0 of the PUP protocols).

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

159#define if_collisions if_data.ifi_collisions
160#define if_ibytes if_data.ifi_ibytes
161#define if_obytes if_data.ifi_obytes
162#define if_imcasts if_data.ifi_imcasts
163#define if_omcasts if_data.ifi_omcasts
164#define if_iqdrops if_data.ifi_iqdrops
165#define if_noproto if_data.ifi_noproto
166#define if_lastchange if_data.ifi_lastchange
35 */
36
37#ifndef _NET_IF_H_
38#define _NET_IF_H_
39
40/*
41 * Structures defining a network interface, providing a packet
42 * transport mechanism (ala level 0 of the PUP protocols).

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

159#define if_collisions if_data.ifi_collisions
160#define if_ibytes if_data.ifi_ibytes
161#define if_obytes if_data.ifi_obytes
162#define if_imcasts if_data.ifi_imcasts
163#define if_omcasts if_data.ifi_omcasts
164#define if_iqdrops if_data.ifi_iqdrops
165#define if_noproto if_data.ifi_noproto
166#define if_lastchange if_data.ifi_lastchange
167#define if_rawoutput(if, m, sa) if_output(if, m, sa, (struct rtentry *)0)
167
168#define IFF_UP 0x1 /* interface is up */
169#define IFF_BROADCAST 0x2 /* broadcast address valid */
170#define IFF_DEBUG 0x4 /* turn on debugging */
171#define IFF_LOOPBACK 0x8 /* is a loopback net */
172#define IFF_POINTOPOINT 0x10 /* interface is point-to-point link */
173#define IFF_NOTRAILERS 0x20 /* avoid use of trailers */
174#define IFF_RUNNING 0x40 /* resources allocated */

--- 214 unchanged lines hidden ---
168
169#define IFF_UP 0x1 /* interface is up */
170#define IFF_BROADCAST 0x2 /* broadcast address valid */
171#define IFF_DEBUG 0x4 /* turn on debugging */
172#define IFF_LOOPBACK 0x8 /* is a loopback net */
173#define IFF_POINTOPOINT 0x10 /* interface is point-to-point link */
174#define IFF_NOTRAILERS 0x20 /* avoid use of trailers */
175#define IFF_RUNNING 0x40 /* resources allocated */

--- 214 unchanged lines hidden ---