// PROJECT · SYSTEMS & NETWORKING

SimpleSoftwareBasedTCPIPStack

A software TCP/IP stack built entirely in C — Ethernet framing, ARP resolution, IP routing, and TCP state machine via Linux TAP devices. Validates by fetching real HTTP content over the custom stack.

  • C
  • Networking
  • TCP/IP
  • Linux
  • TAP Device

A from-scratch userspace TCP/IP stack that speaks to the kernel through a Linux TAP device. It implements Ethernet framing, ARP resolution, IPv4 routing, ICMP, and a working TCP state machine — enough to complete a three-way handshake and fetch real HTTP content over the custom stack.

SOURCE CODEgithub.com/harshithsunku/SimpleSoftwareBasedTCPIPStackOpen on GitHub ↗

// MORE IN SYSTEMS & NETWORKING

A TCP/IP stack, firmware for small devices, and the C libraries under them. Another favourite.

All projects →
SYSTEMS & NETWORKINGC · Lock-Free

ThreadSafeCLogger

A high-performance thread-safe logging library for C. Per-thread SPSC ring buffers drained by a background logger thread — zero mutex contention on the write path. 15× throughput improvement over naive mutex approach.

CLock-FreePOSIX ThreadsRing BufferMemory Ordering
SYSTEMS & NETWORKINGC · ESP-IDF

ESP32-MQTT-WOL

ESP32-based Wake-on-LAN trigger over MQTT. Sits on the LAN, subscribes to MQTT topics, and broadcasts WoL magic packets — built on ESP-IDF with FreeRTOS, lwIP, QoS 1, and hardware watchdog.

CESP-IDFFreeRTOSMQTTlwIP
SYSTEMS & NETWORKINGC · CLI

GenericCShellParserLib

A drop-in CLI parser library for C projects. Built-in commands (show, config, debug, clear) plus a registration API for custom commands. Supports tab completion and history via readline integration.

CCLIParserLibraryreadline