<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/ip_mroute_mod, branch release/9.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-06-08T19:57:35Z</updated>
<entry>
<title>After r193232 rt_tables in vnet.h are no longer indirectly dependent on</title>
<updated>2009-06-08T19:57:35Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2009-06-08T19:57:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8d8bc0182ea6f8f85409e76e53053487c7d23a84'/>
<id>urn:sha1:8d8bc0182ea6f8f85409e76e53053487c7d23a84</id>
<content type='text'>
the ROUTETABLES kernel option thus there is no need to include opt_route.h
anymore in all consumers of vnet.h and no longer depend on it for module
builds.

Remove the hidden include in flowtable.h as well and leave the two
explicit #includes in ip_input.c and ip_output.c.
</content>
</entry>
<entry>
<title>Remove opt_mac.h generation for various kernel modules that no longer</title>
<updated>2009-06-06T17:01:44Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-06-06T17:01:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d5fc25e5d6c52b306312784663ccad85923a9c76'/>
<id>urn:sha1:d5fc25e5d6c52b306312784663ccad85923a9c76</id>
<content type='text'>
require it.

Submitted by:	pjd
</content>
</entry>
<entry>
<title>Introduce a number of changes to the MROUTING code.</title>
<updated>2009-03-19T01:43:03Z</updated>
<author>
<name>Bruce M Simpson</name>
<email>bms@FreeBSD.org</email>
</author>
<published>2009-03-19T01:43:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=443fc3176dee8c923a5e1e465231de9dc4197489'/>
<id>urn:sha1:443fc3176dee8c923a5e1e465231de9dc4197489</id>
<content type='text'>
This is purely a forwarding plane cleanup; no control plane
code is involved.

Summary:
 * Split IPv4 and IPv6 MROUTING support. The static compile-time
   kernel option remains the same, however, the modules may now
   be built for IPv4 and IPv6 separately as ip_mroute_mod and
   ip6_mroute_mod.
 * Clean up the IPv4 multicast forwarding code to use BSD queue
   and hash table constructs. Don't build our own timer abstractions
   when ratecheck() and timevalclear() etc will do.
 * Expose the multicast forwarding cache (MFC) and virtual interface
   table (VIF) as sysctls, to reduce netstat's dependence on libkvm
   for this information for running kernels.
   * bandwidth meters however still require libkvm.
 * Make the MFC hash table size a boot/load-time tunable ULONG,
   net.inet.ip.mfchashsize (defaults to 256).
 * Remove unused members from struct vif and struct mfc.
 * Kill RSVP support, as no current RSVP implementation uses it.
   These stubs could be moved to raw_ip.c.
 * Don't share locks or initialization between IPv4 and IPv6.
 * Don't use a static struct route_in6 in ip6_mroute.c.
   The v6 code is still using a cached struct route_in6, this is
   moved to mif6 for the time being.
 * More cleanup remains to be merged from ip_mroute.c to ip6_mroute.c.

v4 path tested using ports/net/mcast-tools.
v6 changes are mostly mechanical locking and *have not* been tested.
As these changes partially break some kernel ABIs, they will not
be MFCed. There is a lot more work to be done here.

Reviewed by:	Pavlin Radoslavov
</content>
</entry>
<entry>
<title>Rather than using hidden includes (with cicular dependencies),</title>
<updated>2008-12-02T21:37:28Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2008-12-02T21:37:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4b79449e2fb67cb37c4c9f46d31791893a39ddd8'/>
<id>urn:sha1:4b79449e2fb67cb37c4c9f46d31791893a39ddd8</id>
<content type='text'>
directly include only the header files needed. This reduces the
unneeded spamming of various headers into lots of files.

For now, this leaves us with very few modules including vnet.h
and thus needing to depend on opt_route.h.

Reviewed by:	brooks, gnn, des, zec, imp
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Options spring cleanup:</title>
<updated>2007-06-13T02:08:04Z</updated>
<author>
<name>Stephane E. Potvin</name>
<email>sepotvin@FreeBSD.org</email>
</author>
<published>2007-06-13T02:08:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=04031e9ae2866272e7a5d945f92af4baa4539536'/>
<id>urn:sha1:04031e9ae2866272e7a5d945f92af4baa4539536</id>
<content type='text'>
- Add and document the KVM and KVM_SUPPORT options that
are needed for the ifmcstats(3) makefile
- Garbage collect unused variables
- Add missing inclusion of bsd.own.mk where needed

Approved by: kan (mentor)
Reviewed by: ru
</content>
</entry>
<entry>
<title>Make IPv6 multicast forwarding dynamically loadable from a GENERIC kernel.</title>
<updated>2007-02-24T11:38:47Z</updated>
<author>
<name>Bruce M Simpson</name>
<email>bms@FreeBSD.org</email>
</author>
<published>2007-02-24T11:38:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6be2e366d6be0b1e01d55406446dee23a8853e1c'/>
<id>urn:sha1:6be2e366d6be0b1e01d55406446dee23a8853e1c</id>
<content type='text'>
It is built in the same module as IPv4 multicast forwarding, i.e. ip_mroute.ko,
if and only if IPv6 support is enabled for loadable modules.
Export IPv6 forwarding structs to userland netstat(1) via sysctl(9).
</content>
</entry>
<entry>
<title>Remove an unneeded define.</title>
<updated>2007-02-09T01:42:43Z</updated>
<author>
<name>Bruce M Simpson</name>
<email>bms@FreeBSD.org</email>
</author>
<published>2007-02-09T01:42:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3c0bb7340e3dafd57d53da8f44ac18b2ea4219c5'/>
<id>urn:sha1:3c0bb7340e3dafd57d53da8f44ac18b2ea4219c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Let modules use the kernel's opt_*.h files if built along with</title>
<updated>2005-10-14T23:30:17Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2005-10-14T23:30:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=822923447e454b30d310cb46903c9ddeca9f0a7a'/>
<id>urn:sha1:822923447e454b30d310cb46903c9ddeca9f0a7a</id>
<content type='text'>
the kernel by wrapping all targets for fake opt_*.h files in
.if defined(KERNBUILDDIR).  Thus, such fake files won't be
created at all if modules are built with the kernel.

Some modules undergo cleanup like removing unused or unneeded
options or .h files, without which they wouldn't build this way
or the other.

Reviewed by:	ru
Tested by:	no binary changes in modules built alone
Tested on:	i386 sparc64 amd64
</content>
</entry>
<entry>
<title>Get rid of the RANDOM_IP_ID option and make it a sysctl.  NetBSD</title>
<updated>2004-08-14T15:32:40Z</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2004-08-14T15:32:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1f44b0a1b539198ce55bf97e73d51ded20a55ab4'/>
<id>urn:sha1:1f44b0a1b539198ce55bf97e73d51ded20a55ab4</id>
<content type='text'>
have already done this, so I have styled the patch on their work:

        1) introduce a ip_newid() static inline function that checks
        the sysctl and then decides if it should return a sequential
        or random IP ID.

        2) named the sysctl net.inet.ip.random_id

        3) IPv6 flow IDs and fragment IDs are now always random.
        Flow IDs and frag IDs are significantly less common in the
        IPv6 world (ie. rarely generated per-packet), so there should
        be smaller performance concerns.

The sysctl defaults to 0 (sequential IP IDs).

Reviewed by:	andre, silby, mlaier, ume
Based on:	NetBSD
MFC after:	2 months
</content>
</entry>
<entry>
<title>Hook up opt_mac.h to the build dependencies.  The way we currently</title>
<updated>2002-10-20T22:59:17Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2002-10-20T22:59:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e585282846dd148a2f60a3101c62125145d692ec'/>
<id>urn:sha1:e585282846dd148a2f60a3101c62125145d692ec</id>
<content type='text'>
handle this stuff is dangerous. :-)

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
</content>
</entry>
</feed>
