Full TCP/IP for 8-bit architectures

Adam Dunkels

2003 · 391 citations · 13 references

DOIFull text

Open access

Concepts

TL;DR

We present two small, portable TCP/IP stacks that satisfy the essential RFC 1122 requirements for full host‑to‑host interoperability. Both stacks retain all standard TCP features—including urgent data and congestion control—support IP fragment reassembly, and allow multiple simultaneous connections limited only by available RAM. The stacks occupy roughly 10 KB of code and can be configured to use only a few hundred bytes of RAM, yet they interoperate with peers running similarly lightweight stacks without requiring complex full‑size implementations.

Abstract

We describe two small and portable TCP/IP implementations fulfilling the subset of RFC1122 requirements needed for full host-to-host interoperability. Our TCP/IP implementations do not sacrifice any of TCP's mechanisms such as urgent data or congestion control. They support IP fragment reassembly and the number of multiple simultaneous connections is limited only by the available RAM. Despite being small and simple, our implementations do not require their peers to have complex, full-size stacks, but can communicate with peers running a similarly light-weight stack. The code size is on the order of 10 kilobytes and RAM usage can be configured to be as low as a few hundred bytes.

References

13