This Document
1-2
1.1
This Document
This Programmer’s Reference Guide for the TCP/IP Stack Network Develop-
er’s Kit (NDK) is mainly a programming API reference guide. It is intended to
aid in the development of network applications and describes the various API
functions provided by the stack libraries.
1.1.1
Supplemental API Information
The following information appears as appendices to this document. These
sections contain optional information that may be useful in understanding the
low-level application interface, but is not required when developing traditional
network applications.
-
Appendix A: Internal TCP/IP Stack Library Functions
The stack library internal function specification describes a subset of the
low level programming interface to the stack. These functions allow the
application writer to make use of kernel level function APIs. As a general
rule, it is not necessary to use this API for application development, al-
though some of this sample application included in the NDK make these
use of these function calls.
-
Appendix B: Network Address Translation
The stack library includes Network Address Translation module. This ap-
pendix describes the operational theory of NAT, and how to use the NAT
functions included in the library.
-
Appendix C: Point to Point Protocol
The stack library has internal device sections for both traditional Ethernet,
and PPP. The PPP module can act as PPP client, server, or both (assum-
ing multiple interfaces). This appendix describes the operation of the PPP
module, the PPP over Ethernet (PPPoE) module, and how to interface an
HDLC based serial device. More information on the serial interface is sup-
plied in the NDK Porting Guide.
-
Appendix D: Hardware Abstraction Layer
Appendix D describes the hardware and operating system interfaces used
by the stack. It also illustrates how the device layer may be ported to a new
hardware platform. However, the NDK Porting Guide is the primary source
of information used when porting the stack library to a new platform.
-
Appendix E: Web Programming with the HTTP Server
Included with the NDK is a standard set of network services, including a
HTTP protocol server. This server includes support for an embedded file