From 9bf40ede4a299f315bc4b0ae5329631b8c7dc271 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Fri, 31 Oct 2003 18:32:15 +0000 Subject: Replace the if_name and if_unit members of struct ifnet with new members if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance. This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics. Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname) --- sys/net/net_osdep.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/net/net_osdep.h') diff --git a/sys/net/net_osdep.h b/sys/net/net_osdep.h index 01a7199a79c5..38934969bcce 100644 --- a/sys/net/net_osdep.h +++ b/sys/net/net_osdep.h @@ -116,6 +116,8 @@ * --- --- --- * FreeBSD 2 no old standard if_name+unit * FreeBSD 3 yes strange if_name+unit + * FreeBSD 4 yes strange if_name+unit + * FreeBSD 5 yes strange if_xname * OpenBSD yes standard if_xname * NetBSD yes standard if_xname * BSDI [34] no old standard if_name+unit -- cgit v1.2.3