Deleted Added
sdiff udiff text old ( 21259 ) new ( 21666 )
full compact
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.41 1996/12/13 21:28:37 wollman Exp $
35 */
36
37#ifndef _NET_IF_H_
38#define _NET_IF_H_
39
40/*
41 * Structure describing information about an interface
42 * which may be of interest to management entities.

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

119 u_char ifam_type; /* message type */
120 int ifam_addrs; /* like rtm_addrs */
121 int ifam_flags; /* value of ifa_flags */
122 u_short ifam_index; /* index for associated ifp */
123 int ifam_metric; /* value of ifa_metric */
124};
125
126/*
127 * Interface request structure used for socket
128 * ioctl's. All interface ioctl's must have parameter
129 * definitions which begin with ifr_name. The
130 * remainder may be interface specific.
131 */
132struct ifreq {
133#define IFNAMSIZ 16
134 char ifr_name[IFNAMSIZ]; /* if name, e.g. "en0" */

--- 49 unchanged lines hidden ---