ipcalc: C library for fun and IP addresses