// 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.

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