
NetworkingGuide
The Complete Guide to eBPF for Network Programmers
A full guide to eBPF for network work on Linux: programs, maps, the verifier, XDP, tc, sockets, tracing, testing, debugging and running it safely in production.
29 min read
Sockets, epoll, kqueue and io_uring, eBPF and XDP, DPDK, and protocol stacks written from the packet up.

A full guide to eBPF for network work on Linux: programs, maps, the verifier, XDP, tc, sockets, tracing, testing, debugging and running it safely in production.

Learn I/O multiplexing in C: select, poll, epoll and kqueue compared, with event loops, edge and level triggering, partial I/O, timers and scaling across cores.

Learn socket programming in C on Linux from zero: addresses, TCP servers and clients, UDP, getaddrinfo, closing, errors, poll and a working chat server.
We send one email when a new post is published. No spam.