freebsd kernel with SKQ
Go to file
Christian S.J. Peron 6f75ef188b Slightly re-worked bpf(4) code associated with bridging: if we have a
destination interface as a member of our bridge or this is a unicast packet,
push it through the bpf(4) machinery.

For broadcast or multicast packets, don't bother with the bpf(4) because it will
be re-injected into ether_input. We do this before we pass the packets through
the pfil(9) framework, as it is possible that pfil(9) will drop the packet or
possibly modify it, making it very difficult to debug firewall issues on the
bridge.

Further, implemented IFF_MONITOR for bridge interfaces. This does much the same
thing that it does for regular network interfaces: it pushes the packet to any
bpf(4) peers and then returns. This bypasses all of the bridge machinery,
saving mutex acquisitions, list traversals, and other operations performed by
the bridging code.

This change to the bridging code is useful in situations where individuals use a
bridge to multiplex RX/TX signals from two interfaces, as is required by some
network taps for de-multiplexing links and transmitting the RX/TX signals
out through two separate interfaces. This behaviour is quite common for network
taps monitoring links, especially for certain manufacturers.

Reviewed by:	thompsa
MFC after:	1 month
Sponsored by:	Seccuris Labs
2006-03-03 05:58:18 +00:00
bin For pts, print the pts number, instead of the full name. As it was, we ended 2006-02-21 13:02:18 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r156230, 2006-03-03 04:11:29 +00:00
crypto Fix the amd64 (and presumably ia64) lib32 build by ensuring that the 2006-01-02 11:28:42 +00:00
etc Add the graid3(8), gstripe(8) and gconcat(8) status scripts, default is "off". 2006-03-02 14:46:00 +00:00
games Her name was Anne Frank, not Ann Frank. 2006-02-19 21:46:29 +00:00
gnu Correctly locate the character preceeding the matched string in -w 2006-02-19 04:27:39 +00:00
include Add nested include of <wchar.h> 2006-03-02 10:01:52 +00:00
kerberos5 Add a new extensible GSS-API layer which can support GSS-API plugins, 2005-12-29 14:40:22 +00:00
lib Fix the %Q printf extension to behave as expected 2006-03-02 08:53:45 +00:00
libexec - Reduce needless DNS query by lookup only appropriate address 2006-03-01 16:13:17 +00:00
release Remove OpenSSH and sendmail update notes; these updates were already 2006-02-26 21:48:50 +00:00
rescue Install nextboot in /rescue as /rescue/nextboot rather than 2005-12-15 18:29:01 +00:00
sbin When there are no mount options, an implicit "rw" should be printed in 2006-03-03 02:46:15 +00:00
secure Hook audit into OpenSSH. Now that the necessary bits for OpenSSH support 2006-02-12 07:19:45 +00:00
share - Add entry about using timecounter TSC and cpu frequency changing. 2006-03-03 02:04:52 +00:00
sys Slightly re-worked bpf(4) code associated with bridging: if we have a 2006-03-03 05:58:18 +00:00
tools Update copyright years and remove third clause. 2006-03-02 14:00:40 +00:00
usr.bin Add make glue for building csup. Not yet connected to the build. 2006-03-03 04:28:13 +00:00
usr.sbin Add new NTP servers for Taiwan. 2006-03-01 18:37:41 +00:00
COPYRIGHT Happy new year, a little late 2006-01-15 22:06:10 +00:00
LOCKS Document commit constraints for RELENG_6_*. 2006-01-13 06:51:43 +00:00
MAINTAINERS Remove extra geom_zero. 2005-12-12 01:28:19 +00:00
Makefile Do not discard the current value of __MAKE_CONF when testing 2006-03-01 13:07:17 +00:00
Makefile.inc1 Detect that the "audit" group is missing earlier during install. 2006-02-27 09:17:39 +00:00
ObsoleteFiles.inc - add libxpg4 2006-02-18 16:35:57 +00:00
README Add a note explaining what the rescue/ directory is for. 2006-03-01 20:14:55 +00:00
UPDATING Add a quite late 20051014 entry for the changes in module Makefiles, 2006-02-19 01:05:57 +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/doc/en_US.ISO8859-1/books/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 might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/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.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

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/doc/en_US.ISO8859-1/books/handbook/synching.html