ipsec_subnettypeof(3) on Linux
The text afa3d65714a8, as Debian 5.0 (Lenny) shipped it.
initialize an ip_subnet ipsec addrtosubnet - initialize a singleton ip_subnet ipsec subnettypeof - get address type of an ip_subnet ipsec masktocount - convert subnet mask to bit count ipsec networkof - get base address of an ip_subnet ipsec maskof - get subnet mask of an ip_subnet