4. Porting Guide

This chapter provides information enabling you to port the OSPF code to various enviroments. Section 4.1 gives an overview of the main porting tasks. The system interface routines that must be written are the subject of Section 4.2. They provide the OSPF application with such basic functions as packet transmission, joining and leaving multicast groups, and so on. The Application Programming Interface (API)—the entry points into the OSPF code—are described in Section 4.3. Section 4.4 examines some machine dependencies that you must keep in mind when porting the code.

4.1. Porting Overview

The additional code needed to port the OSPF application can be roughly divided into an initialization section and a main loop. The initialization ...

Get OSPF Complete Implementation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.