Use uint32_t instead of in_addr for IPv4 addresses.

Signed-off-by: Thorben Hasenpusch <thorben.hasenpusch@gmail.com>