IPFAMILY …ip-expr…
IP_FAMILY …ip-expr…
IPv4 -> unsigned-int
IPv6 -> unsigned-int
Ip -> unsigned-int
Returns either 4 if the IP is an IPv4 or 6 if the IP is an IPv6.