net-libs/
libcorkipset

A small C helper library for storing sets of IPv4 and IPv6 addresses

https://github.com/rogers0/libcorkipset