A C tool over libpcap: parses packet captures, filters by IP, mask, protocol and size, and prints per-flow statistics.
A network-filtering exercise done at the byte level — pcap parsing, filter predicates and flow accounting in plain C.