summaryrefslogtreecommitdiffstats
path: root/sys/net/vnet.h
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2009-06-29 19:46:29 +0000
committerbrooks <brooks@FreeBSD.org>2009-06-29 19:46:29 +0000
commit0cabaf8791593503b5c5aee1394849a275c48ef9 (patch)
treebafd4643a36f16f38324f5cdfeb98860cd7c22a0 /sys/net/vnet.h
parent8eb4412c3f17561dfaafef706ac9142086068e62 (diff)
downloadFreeBSD-src-0cabaf8791593503b5c5aee1394849a275c48ef9.zip
FreeBSD-src-0cabaf8791593503b5c5aee1394849a275c48ef9.tar.gz
Remove support for the /dev/net/* per-interface devices. They serve
little purpose and are unused in the base system. The IOCTL functionality is entirely duplicated and routing sockets provide a richer interface than the kqueue functionality. Further, it is not practical for these devices to be made sensible in the face of VIMAGE. Bump __FreeBSD_version on the off chance that there is any code out there that actually uses this stuff. Reviewed by: rwatson Discussed with: bz, zec Approved by: re@ (kensmith)
Diffstat (limited to 'sys/net/vnet.h')
-rw-r--r--sys/net/vnet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/vnet.h b/sys/net/vnet.h
index dd8ea8e..b5d2fbd 100644
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -35,6 +35,8 @@
#include <net/if_var.h>
+struct ifindex_entry;
+
struct vnet_net {
int _if_index;
struct ifindex_entry * _ifindex_table;
@@ -42,7 +44,6 @@ struct vnet_net {
struct ifgrouphead _ifg_head;
int _if_indexlim;
- struct knlist _ifklist;
struct ifnet * _loif;
struct if_clone * _lo_cloner;
OpenPOWER on IntegriCloud