Code Confidencebuild

Chapter 48. OpenBSD TCP/IP stack port

Table of Contents
Building the Network Stack
Inclusion of bridge code

This document describes how to get started with the OpenBSD TCP/IP network stack.


A number of ethernet devices may be supported. The default configuration supports two instances of the interface by default, and you will need to write your own driver instantiation code, and supplemental startup and initialization code, if you should add additional ones.

The target for your board will normally be supplied with an ethernet driver, in which case including the network stack and generic ethernet driver package to your build will automatically enable usage of the ethernet device driver. If your target is not supplied with an ethernet driver, you will need to use loopback (see the Section called Loopback tests in Chapter 41).