Date: Fri, 9 Apr 2010 18:02:19 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet/ipfw ip_dn_io.c ip_dn_private.h ip_dummynet.c Message-ID: <201004091802.o39I2hDR086437@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
luigi 2010-04-09 18:02:19 UTC FreeBSD src repository Modified files: sys/netinet/ipfw ip_dn_io.c ip_dn_private.h ip_dummynet.c Log: SVN rev 206428 on 2010-04-09 18:02:19Z by luigi This commit enables partial operation of dummynet with kernels compiled with "options VIMAGE". As it is now, there is still a single instance of the pipes, and it is only usable from vnet0 (the main instance). Trying to use a pipe from a different vimage does not crash the system as it did before, but the traffic coming out from the pipe goes to the wrong place, and i still need to figure out where. Support for per-vimage pipes is almost there (just a matter of uncommenting the VNET_* definitions for dn_cfg, plus putting into the structure the remaining static variables), however i need first to figure out how init/uninit work, and also to understand where packets are ending up on exit from a pipe. In summary: vimage support for dummynet is not complete yet, but we are getting there. Revision Changes Path 1.5 +22 -15 src/sys/netinet/ipfw/ip_dn_io.c 1.5 +4 -0 src/sys/netinet/ipfw/ip_dn_private.h 1.30 +31 -16 src/sys/netinet/ipfw/ip_dummynet.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004091802.o39I2hDR086437>