svn commit: r281154 - projects/ifnet/sys/net
Gleb Smirnoff
glebius at FreeBSD.org
Mon Apr 6 15:44:10 UTC 2015
Author: glebius
Date: Mon Apr 6 15:44:09 2015
New Revision: 281154
URL: https://svnweb.freebsd.org/changeset/base/281154
Log:
- Zero is special value, don't assign IF_DRIVER_SOFTC to it.
- Fix field name in comment.
Modified:
projects/ifnet/sys/net/if.h
Modified: projects/ifnet/sys/net/if.h
==============================================================================
--- projects/ifnet/sys/net/if.h Mon Apr 6 15:38:34 2015 (r281153)
+++ projects/ifnet/sys/net/if.h Mon Apr 6 15:44:09 2015 (r281154)
@@ -572,14 +572,15 @@ typedef enum {
} ift_counter;
typedef enum {
- IF_DRIVER_SOFTC = 0,
+ IF_NO_SOFTC = 0,
+ IF_DRIVER_SOFTC,
IF_LLADDR,
IF_BPF,
IF_NAME,
IF_VLAN,
/*
* Values do matter, since we want to avoid aliasing of frequently
- * used features in if_softcs cache.
+ * used features in if_sccache cache.
*/
IF_AF_INET = 8,
IF_AF_INET6 = 9,
More information about the svn-src-projects
mailing list