FreeBSD src
Go to file
Luigi Rizzo e88516c29b Lots of improvement to the bridging code.
In order of importance:

 + each cluster now uses private data structures (filtering and
   local address tables) so you can treat them as fully independent
   switches. This part of the work was supported by:
        Cisco Systems, Inc. - NSITE lab, RTP, NC.

 + cleaned up the handling of configuration, so the system will behave
   much better when real or pseudo devices are dynamically attached
   or detached. It should also not panic anymore on systems with large
   number of devices, closing a few existings PRs on the topic.

 + while at it, add support for VLAN. This means that a FreeBSD box
   can now work as a real VLAN switch, with trunk interfaces etc.
   As an example:
        ifconfig vlan0 vlan 3 vlandev dc0
        ifconfig vlan1 vlan 4 vlandev dc0
        net.link.ether.bridge_cfg="vlan0:3,dc1:3,vlan1:4,dc1:4"
   uses dc0 as a trunk interface, and dc1 and dc3 as ports on vlans 3 and 4
   You get the idea...
   NOTA BENE: by default bridge_cfg is initialised to "" so even if
   you enable bridging, no packets will be bridged until you set the
   list of interfaces on which you want this to happen.

 + large restructuring of the code, moving private vars and types from
   bridge.h to bridge.c.

 + added a lot of comments to the code to explain how to use it.
2002-02-15 05:11:11 +00:00
bin Move user_from_uid to pwd.h 2002-02-14 01:59:47 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r90446, 2002-02-10 04:40:26 +00:00
crypto Don't use non-signal-safe functions (exit(3) in this case) in 2002-02-05 15:20:02 +00:00
etc Set rc=1 rather than 0 so that setting daily_show_success=YES masks 2002-02-13 19:10:07 +00:00
games Add a tip about pkg_info and checking for multiple installed versions 2002-02-11 03:45:29 +00:00
gnu Nice set of fixes to use SCRIPT instead of PROG, thus fixing up 2002-02-10 19:48:19 +00:00
include Move user_from_uid to pwd.h 2002-02-14 01:59:47 +00:00
kerberos5 Fixed -DMAKE_KERBEROS5 world breakage in kerberos5/lib/libroken 2002-02-11 16:47:05 +00:00
kerberosIV Install script via SCRIPTS. 2001-12-17 16:52:32 +00:00
lib Don't leave stack garbage in the reserved fields of the header. 2002-02-15 02:37:08 +00:00
libexec Fix infinite loop around sendfile(2) after sending >4GB file. 2002-02-13 09:00:05 +00:00
release Put a more reasonable path for "more" sources in crunch.conf, 2002-02-14 19:43:40 +00:00
sbin Do not disable IPv6 and vlan support when RELEASE_CRUNCH is defined. 2002-02-15 03:57:06 +00:00
secure Now that cross-tools ld(1) has been fixed to look for dynamic 2002-02-08 13:42:58 +00:00
share - Added support for receive in multiple 2002-02-13 18:19:27 +00:00
sys Lots of improvement to the bridging code. 2002-02-15 05:11:11 +00:00
tools Complete '_' hack. 2002-02-07 19:32:40 +00:00
usr.bin * Don't SEGFAULT on attempt to write nothing (if no source files were 2002-02-13 13:00:33 +00:00
usr.sbin Unbogotify the comment containing the RCS Id. 2002-02-15 00:46:32 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile FreeBSD 4.1 bootstrapping aid (``:C'' make(1) modifier used 2002-02-08 09:48:34 +00:00
Makefile.inc1 The previous fix for broken -DMAKE_KERBEROS5 world was incomplete. 2002-02-14 13:06:52 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Add info about sppp and fd changes in December to current. 2002-01-27 07:00:25 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you have to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html