// PROJECT · SYSTEMS & NETWORKING

GenericEmbeddableDoublyLinkedList

A memory-efficient intrusive doubly linked list library for C. Embedded directly in user-defined data structures — no separate allocation per node, O(1) insert/delete, and type-safe macros.

  • C
  • Data Structures
  • Embedded
  • Library

An intrusive doubly linked list for C. Because the list nodes are embedded directly inside user-defined structs, there is no separate allocation per node. Insert and delete are O(1), and type-safe macros keep usage ergonomic.

SOURCE CODEgithub.com/harshithsunku/GenericEmbeddableDoublyLinkedListOpen 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 · 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.

CNetworkingTCP/IPLinuxTAP Device
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