<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- permission is obtained from the copyright holder. -->
|
<!-- permission is obtained from the copyright holder. -->
|
<HTML
|
<HTML
|
><HEAD
|
><HEAD
|
><TITLE
|
><TITLE
|
>OpenBSD TCP/IP stack port</TITLE
|
>OpenBSD TCP/IP stack port</TITLE
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
<META
|
<META
|
NAME="GENERATOR"
|
NAME="GENERATOR"
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
"><LINK
|
"><LINK
|
REL="HOME"
|
REL="HOME"
|
TITLE="eCos Reference Manual"
|
TITLE="eCos Reference Manual"
|
HREF="ecos-ref.html"><LINK
|
HREF="ecos-ref.html"><LINK
|
REL="UP"
|
REL="UP"
|
TITLE="OpenBSD TCP/IP Stack port for eCos"
|
TITLE="OpenBSD TCP/IP Stack port for eCos"
|
HREF="tcpip-openbsd.html"><LINK
|
HREF="tcpip-openbsd.html"><LINK
|
REL="PREVIOUS"
|
REL="PREVIOUS"
|
TITLE="Networking Stack Features"
|
TITLE="Networking Stack Features"
|
HREF="tcpip-openbsd-networking-stack-features.html"><LINK
|
HREF="tcpip-openbsd-networking-stack-features.html"><LINK
|
REL="NEXT"
|
REL="NEXT"
|
TITLE="Building the Network Stack"
|
TITLE="Building the Network Stack"
|
HREF="tcpip-openbsd-building-the-network-stack.html"></HEAD
|
HREF="tcpip-openbsd-building-the-network-stack.html"></HEAD
|
><BODY
|
><BODY
|
CLASS="CHAPTER"
|
CLASS="CHAPTER"
|
BGCOLOR="#FFFFFF"
|
BGCOLOR="#FFFFFF"
|
TEXT="#000000"
|
TEXT="#000000"
|
LINK="#0000FF"
|
LINK="#0000FF"
|
VLINK="#840084"
|
VLINK="#840084"
|
ALINK="#0000FF"
|
ALINK="#0000FF"
|
><DIV
|
><DIV
|
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
><TABLE
|
><TABLE
|
SUMMARY="Header navigation table"
|
SUMMARY="Header navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TH
|
><TH
|
COLSPAN="3"
|
COLSPAN="3"
|
ALIGN="center"
|
ALIGN="center"
|
>eCos Reference Manual</TH
|
>eCos Reference Manual</TH
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="tcpip-openbsd-networking-stack-features.html"
|
HREF="tcpip-openbsd-networking-stack-features.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="80%"
|
WIDTH="80%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="tcpip-openbsd-building-the-network-stack.html"
|
HREF="tcpip-openbsd-building-the-network-stack.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
><DIV
|
><DIV
|
CLASS="CHAPTER"
|
CLASS="CHAPTER"
|
><H1
|
><H1
|
><A
|
><A
|
NAME="TCPIP-OPENBSD-STACK-PORT">Chapter 43. OpenBSD TCP/IP stack port</H1
|
NAME="TCPIP-OPENBSD-STACK-PORT">Chapter 43. OpenBSD TCP/IP stack port</H1
|
><DIV
|
><DIV
|
CLASS="TOC"
|
CLASS="TOC"
|
><DL
|
><DL
|
><DT
|
><DT
|
><B
|
><B
|
>Table of Contents</B
|
>Table of Contents</B
|
></DT
|
></DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="tcpip-openbsd-stack-port.html#TCPIP-OPENBSD-TCPIP-TARGETS"
|
HREF="tcpip-openbsd-stack-port.html#TCPIP-OPENBSD-TCPIP-TARGETS"
|
>Targets</A
|
>Targets</A
|
></DT
|
></DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="tcpip-openbsd-building-the-network-stack.html"
|
HREF="tcpip-openbsd-building-the-network-stack.html"
|
>Building the Network Stack</A
|
>Building the Network Stack</A
|
></DT
|
></DT
|
></DL
|
></DL
|
></DIV
|
></DIV
|
><P
|
><P
|
>This document describes how to get started with the OpenBSD
|
>This document describes how to get started with the OpenBSD
|
TCP/IP network stack. </P
|
TCP/IP network stack. </P
|
><DIV
|
><DIV
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><H1
|
><H1
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><A
|
><A
|
NAME="TCPIP-OPENBSD-TCPIP-TARGETS">Targets</H1
|
NAME="TCPIP-OPENBSD-TCPIP-TARGETS">Targets</H1
|
><P
|
><P
|
>A number of ethernet devices may be supported. The default configuration
|
>A number of ethernet devices may be supported. The default configuration
|
supports two instances of the interface by default,
|
supports two instances of the interface by default,
|
and you will need to write your own driver instantiation code,
|
and you will need to write your own driver instantiation code,
|
and supplemental startup and initialization code,
|
and supplemental startup and initialization code,
|
if you should add additional ones.</P
|
if you should add additional ones.</P
|
><P
|
><P
|
>The target for your board will normally be supplied with an
|
>The target for your board will normally be supplied with an
|
ethernet driver, in which case including the network stack and
|
ethernet driver, in which case including the network stack and
|
generic ethernet driver package to your build will automatically
|
generic ethernet driver package to your build will automatically
|
enable usage of the ethernet device driver.
|
enable usage of the ethernet device driver.
|
If your target is not supplied with an ethernet
|
If your target is not supplied with an ethernet
|
driver, you will need to use loopback (see
|
driver, you will need to use loopback (see
|
<A
|
<A
|
HREF="net-common-tests-and-demonstrations.html#NET-COMMON-LOOPBACK-TESTS"
|
HREF="net-common-tests-and-demonstrations.html#NET-COMMON-LOOPBACK-TESTS"
|
>the Section called <I
|
>the Section called <I
|
>Loopback tests</I
|
>Loopback tests</I
|
> in Chapter 36</A
|
> in Chapter 36</A
|
>).</P
|
>).</P
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
SUMMARY="Footer navigation table"
|
SUMMARY="Footer navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="tcpip-openbsd-networking-stack-features.html"
|
HREF="tcpip-openbsd-networking-stack-features.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="ecos-ref.html"
|
HREF="ecos-ref.html"
|
ACCESSKEY="H"
|
ACCESSKEY="H"
|
>Home</A
|
>Home</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="tcpip-openbsd-building-the-network-stack.html"
|
HREF="tcpip-openbsd-building-the-network-stack.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
>Networking Stack Features</TD
|
>Networking Stack Features</TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="tcpip-openbsd.html"
|
HREF="tcpip-openbsd.html"
|
ACCESSKEY="U"
|
ACCESSKEY="U"
|
>Up</A
|
>Up</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
>Building the Network Stack</TD
|
>Building the Network Stack</TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
></BODY
|
></BODY
|
></HTML
|
></HTML
|
|
|