I'm Daniel, a passionate Unix systems enthusiast and open-source developer. This space is where I document my journey through the world of POSIX-compliant systems, network programming, and low-level computing.
Recent Experiment: Custom TCP Stack
Posted: 2024-01-15 | Tags: networking, c, linux
Currently working on a lightweight TCP stack implementation in C. The goal is to understand packet routing at the deepest level...
#include <netinet/ip.h>
#include <stdio.h>
void process_packet(unsigned char* buffer, int size) {
struct iphdr *iph = (struct iphdr*)buffer;
// Packet processing logic here
}
BSD vs Linux: Kernel Development
Posted: 2024-01-10 | Tags: kernel, bsd, linux
Spent the weekend comparing kernel development workflows between FreeBSD and Linux. The BSD make system feels more consistent, while Linux has better hardware support...