diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-08-01 19:26:27 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-08-01 19:26:27 +0000 |
commit | fb9ffed6504601ed9da2c6b9a620b133c838964c (patch) | |
tree | 6dc533c8b591922258259a32957fdee2632a29ac /sys/netgraph | |
parent | 2d4b24984c5d2ea2556ae2b1ef1df7f0833dc1b5 (diff) | |
download | FreeBSD-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/netgraph')
-rw-r--r-- | sys/netgraph/atm/ng_atm.c | 1 | ||||
-rw-r--r-- | sys/netgraph/ng_base.c | 1 | ||||
-rw-r--r-- | sys/netgraph/ng_bridge.c | 2 | ||||
-rw-r--r-- | sys/netgraph/ng_eiface.c | 2 | ||||
-rw-r--r-- | sys/netgraph/ng_ether.c | 2 | ||||
-rw-r--r-- | sys/netgraph/ng_gif.c | 1 | ||||
-rw-r--r-- | sys/netgraph/ng_iface.c | 2 | ||||
-rw-r--r-- | sys/netgraph/ng_pipe.c | 3 | ||||
-rw-r--r-- | sys/netgraph/ng_source.c | 2 |
9 files changed, 7 insertions, 9 deletions
diff --git a/sys/netgraph/atm/ng_atm.c b/sys/netgraph/atm/ng_atm.c index 7296aa1..4b7d7c0 100644 --- a/sys/netgraph/atm/ng_atm.c +++ b/sys/netgraph/atm/ng_atm.c @@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$"); #include <sys/sbuf.h> #include <sys/ioccom.h> #include <sys/sysctl.h> -#include <sys/vimage.h> #include <net/if.h> #include <net/if_types.h> diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index b618bb4..65707b2 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -61,7 +61,6 @@ #include <sys/syslog.h> #include <sys/refcount.h> #include <sys/proc.h> -#include <sys/vimage.h> #include <sys/unistd.h> #include <sys/kthread.h> #include <sys/smp.h> diff --git a/sys/netgraph/ng_bridge.c b/sys/netgraph/ng_bridge.c index d998f1e..e42b5a5 100644 --- a/sys/netgraph/ng_bridge.c +++ b/sys/netgraph/ng_bridge.c @@ -69,10 +69,10 @@ #include <sys/syslog.h> #include <sys/socket.h> #include <sys/ctype.h> -#include <sys/vimage.h> #include <net/if.h> #include <net/ethernet.h> +#include <net/vnet.h> #include <netinet/in.h> #include <netinet/ip_fw.h> diff --git a/sys/netgraph/ng_eiface.c b/sys/netgraph/ng_eiface.c index ad9668e..ce23683 100644 --- a/sys/netgraph/ng_eiface.c +++ b/sys/netgraph/ng_eiface.c @@ -35,10 +35,10 @@ #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/errno.h> +#include <sys/proc.h> #include <sys/sockio.h> #include <sys/socket.h> #include <sys/syslog.h> -#include <sys/vimage.h> #include <net/if.h> #include <net/if_types.h> diff --git a/sys/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c index 85fc7fc..fab0622 100644 --- a/sys/netgraph/ng_ether.c +++ b/sys/netgraph/ng_ether.c @@ -52,9 +52,9 @@ #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/errno.h> +#include <sys/proc.h> #include <sys/syslog.h> #include <sys/socket.h> -#include <sys/vimage.h> #include <net/if.h> #include <net/if_dl.h> diff --git a/sys/netgraph/ng_gif.c b/sys/netgraph/ng_gif.c index de2ded3..ccff05a 100644 --- a/sys/netgraph/ng_gif.c +++ b/sys/netgraph/ng_gif.c @@ -76,7 +76,6 @@ #include <sys/errno.h> #include <sys/syslog.h> #include <sys/socket.h> -#include <sys/vimage.h> #include <net/if.h> #include <net/route.h> diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c index 49cba25..209ac77 100644 --- a/sys/netgraph/ng_iface.c +++ b/sys/netgraph/ng_iface.c @@ -64,12 +64,12 @@ #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/errno.h> +#include <sys/proc.h> #include <sys/random.h> #include <sys/sockio.h> #include <sys/socket.h> #include <sys/syslog.h> #include <sys/libkern.h> -#include <sys/vimage.h> #include <net/if.h> #include <net/if_types.h> diff --git a/sys/netgraph/ng_pipe.c b/sys/netgraph/ng_pipe.c index b12318a..5f5e410 100644 --- a/sys/netgraph/ng_pipe.c +++ b/sys/netgraph/ng_pipe.c @@ -46,10 +46,11 @@ #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/time.h> -#include <sys/vimage.h> #include <vm/uma.h> +#include <net/vnet.h> + #include <netinet/in.h> #include <netinet/in_systm.h> #include <netinet/ip.h> diff --git a/sys/netgraph/ng_source.c b/sys/netgraph/ng_source.c index 91a7585..2f834fc 100644 --- a/sys/netgraph/ng_source.c +++ b/sys/netgraph/ng_source.c @@ -66,9 +66,9 @@ __FBSDID("$FreeBSD$"); #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/syslog.h> -#include <sys/vimage.h> #include <net/if.h> #include <net/if_var.h> +#include <net/vnet.h> #include <netgraph/ng_message.h> #include <netgraph/netgraph.h> #include <netgraph/ng_parse.h> |