> > >Inclusion of bridge code >
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"> REL="HOME"
TITLE="eCos Reference Manual"
HREF="ecos-ref.html"> REL="UP"
TITLE="OpenBSD TCP/IP stack port"
HREF="tcpip-openbsd-stack-port.html"> REL="PREVIOUS"
TITLE="Building the Network Stack"
HREF="tcpip-openbsd-building-the-network-stack.html"> REL="NEXT"
TITLE="APIs"
HREF="tcpip-openbsd-tcpip-apis.html"> > CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
> CLASS="NAVHEADER"
> SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
> > COLSPAN="3"
ALIGN="center"
>eCos Reference Manual > > > WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
> HREF="tcpip-openbsd-building-the-network-stack.html"
ACCESSKEY="P"
>Prev > > WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 47. OpenBSD TCP/IP stack port > WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
> HREF="tcpip-openbsd-tcpip-apis.html"
ACCESSKEY="N"
>Next > > > > ALIGN="LEFT"
WIDTH="100%"> > CLASS="SECT1"
> CLASS="SECT1"
> NAME="TCPIP-OPENBSD-BUILDING-THE-BRIDGE-CODE"
>Inclusion of bridge code > > >The OpenBSD stack does not by default result in the inclusion of
the bridge code. To include bridging functionality the CDL option
CYGPKG_NET_BRIDGE must be enable . It is also possible to enable more
than one concurrent bridge. The number of bridges active in a device
is configured by the CDL option CYGNUM_NET_BRIDGES, which has a
default value of 1. > >The default behavior of a bridge is to operate without the
spanning tree protocol. When devices are operated in this default mode
it must be ensured the network topology is loop-free. Any loops will
cause broadcast storms and general mayhem on the network. Including
spanning tree code during the build process will allow the bridge to
communicate with other bridges. They can then detect such loops and by
disabling selected interfaces break the loop. To enable spanning tree enable
the CDL option CYGPKG_NET_BRIDGE_STP_CODE. > > CLASS="NAVFOOTER"
> ALIGN="LEFT"
WIDTH="100%"> SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
> > WIDTH="33%"
ALIGN="left"
VALIGN="top"
> HREF="tcpip-openbsd-building-the-network-stack.html"
ACCESSKEY="P"
>Prev > > WIDTH="34%"
ALIGN="center"
VALIGN="top"
> HREF="ecos-ref.html"
ACCESSKEY="H"
>Home > > WIDTH="33%"
ALIGN="right"
VALIGN="top"
> HREF="tcpip-openbsd-tcpip-apis.html"
ACCESSKEY="N"
>Next > > > > WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Building the Network Stack > WIDTH="34%"
ALIGN="center"
VALIGN="top"
> HREF="tcpip-openbsd-stack-port.html"
ACCESSKEY="U"
>Up > > WIDTH="33%"
ALIGN="right"
VALIGN="top"
>APIs > > > > > >