// PROJECT · SYSTEMS & NETWORKING
GenericDLLLibrary
A generic doubly linked list library for C with an integrated "glued type" pattern — one list implementation that any user-defined struct can join without casts or per-type code.
- C
- Data Structures
C has no templates, so generic containers usually mean void * and casts everywhere.
This library takes the “glued” (intrusive) approach instead: the list node lives inside
the user’s struct, and the library recovers the containing struct from the node with
offset arithmetic. One list implementation serves any type, with no allocation per node
and no type erasure — the same pattern the Linux kernel uses for list_head.
View this project as Markdown — plain text for LLMs and agents
// MORE IN SYSTEMS & NETWORKING
A TCP/IP stack, firmware for small devices, and the C libraries under them. Another favourite.
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.
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.
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.