summaryrefslogtreecommitdiffstats
path: root/sys/net/if_epair.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-08-01 19:26:27 +0000
committerrwatson <rwatson@FreeBSD.org>2009-08-01 19:26:27 +0000
commitfb9ffed6504601ed9da2c6b9a620b133c838964c (patch)
tree6dc533c8b591922258259a32957fdee2632a29ac /sys/net/if_epair.c
parent2d4b24984c5d2ea2556ae2b1ef1df7f0833dc1b5 (diff)
downloadFreeBSD-src-fb9ffed6504601ed9da2c6b9a620b133c838964c.zip
FreeBSD-src-fb9ffed6504601ed9da2c6b9a620b133c838964c.tar.gz
Merge the remainder of kern_vimage.c and vimage.h into vnet.c and
vnet.h, we now use jails (rather than vimages) as the abstraction for virtualization management, and what remained was specific to virtual network stacks. Minor cleanups are done in the process, and comments updated to reflect these changes. Reviewed by: bz Approved by: re (vimage blanket)
Diffstat (limited to 'sys/net/if_epair.c')
-rw-r--r--sys/net/if_epair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c
index e299d97..00f99fd 100644
--- a/sys/net/if_epair.c
+++ b/sys/net/if_epair.c
@@ -38,7 +38,7 @@
/*
* Things to re-think once we have more experience:
* - ifp->if_reassign function once we can test with vimage. Depending on
- * how if_vomve() is going to be improved.
+ * how if_vmove() is going to be improved.
* - Real random etheraddrs that are checked to be uniquish; we would need
* to re-do them in case we move the interface between network stacks
* in a private if_reassign function.
@@ -61,7 +61,6 @@ __FBSDID("$FreeBSD$");
#include <sys/sockio.h>
#include <sys/sysctl.h>
#include <sys/types.h>
-#include <sys/vimage.h>
#include <net/bpf.h>
#include <net/ethernet.h>
@@ -70,6 +69,7 @@ __FBSDID("$FreeBSD$");
#include <net/if_var.h>
#include <net/if_types.h>
#include <net/netisr.h>
+#include <net/vnet.h>
#define EPAIRNAME "epair"
OpenPOWER on IntegriCloud