Date: Tue, 3 May 2011 11:00:31 +0000 (UTC) From: "Andrey V. Elsukov" <ae@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: <201105031100.p43B0oEH041599@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ae 2011-05-03 11:00:31 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/netinet/ipfw ip_dn_io.c ip_dn_private.h ip_dummynet.c
Log:
SVN rev 221375 on 2011-05-03 11:00:31Z by ae
MFC r206428 (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.
MFC r206461 (by bz):
Try to help with a virtualized dummynet after r206428.
This adds the explicit include (so far probably included through one of the
few "hidden" includes in other header files) for vnet.h and adds a cast
to unbreak LINT-VIMAGE.
Revision Changes Path
1.2.2.7 +25 -15 src/sys/netinet/ipfw/ip_dn_io.c
1.3.2.3 +4 -0 src/sys/netinet/ipfw/ip_dn_private.h
1.5.2.8 +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?201105031100.p43B0oEH041599>
