| Q Solutions |
The Tcp/ip stack is implemented in the ansi C language. It uses macros to abstract the physical environment from the logical operations. This allows the code to be efficient yet customisable to a diverse range of hardware. It compiles with a large range of commercial and open source compilers.
The user software communicates with the stack via the BSD standard calls. This allows the software to be developed largely on any compatible system and then transferred and tested on the embedded system without modification.
Api Calls implemented are:
The following are dependant on the target operating system:
The following are dependant on having libc integration:
The stack keeps statistics on the network interface as well as upper protocols so that interactive debugging can be done on the stack in real time.
The stack can be interfaced to most standard ethernet controller chips. Data is transferred by either DMA, IRQ, or polled in an event loop.
All handling of the NIC is done inside the stack so that the application programmer never needs to interact with the hardware interface at any time.
The host can either call the stack in a loop and as such the stack does not require and operating system to function, the host software must provide routines to facilitate the following:
When advanced operation is required , some or all of the following features need to be provided to the stack