summaryrefslogtreecommitdiffstats
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-12-21 22:57:05 +0000
committerwollman <wollman@FreeBSD.org>1994-12-21 22:57:05 +0000
commit7d587b958356f1a73ccf6a7794d5edc094412662 (patch)
tree3d9f1d8581a45dffc05726c18b95431f11fc28d8 /sys/net/if.h
parent1edc2b89b75b4476803966eaa91d02a788f4bba5 (diff)
downloadFreeBSD-src-7d587b958356f1a73ccf6a7794d5edc094412662.zip
FreeBSD-src-7d587b958356f1a73ccf6a7794d5edc094412662.tar.gz
Add generic part of generic multiple-physical-interface support (the
successor of IFF_ALTPHYS).
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index dacff0c..0174f97 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if.h 8.1 (Berkeley) 6/10/93
- * $Id: if.h,v 1.11 1994/12/13 22:31:44 wollman Exp $
+ * $Id: if.h,v 1.12 1994/12/21 18:03:41 wollman Exp $
*/
#ifndef _NET_IF_H_
@@ -304,6 +304,7 @@ struct ifreq {
short ifru_flags;
int ifru_metric;
int ifru_mtu;
+ int ifru_phys;
caddr_t ifru_data;
} ifr_ifru;
#define ifr_addr ifr_ifru.ifru_addr /* address */
@@ -312,6 +313,7 @@ struct ifreq {
#define ifr_flags ifr_ifru.ifru_flags /* flags */
#define ifr_metric ifr_ifru.ifru_metric /* metric */
#define ifr_mtu ifr_ifru.ifru_mtu /* mtu */
+#define ifr_phys ifr_ifru.ifru_phys; /* physical wire */
#define ifr_data ifr_ifru.ifru_data /* for use by interface */
};
OpenPOWER on IntegriCloud