Instance Subscriptswift-ip 0.3.0Firewalls->IP

subscript(v4:)

Performs a bisection search to look up the color associated with the given IP address, using the IPv4 subtable only.

IP.Table.swift:47
subscript(v4 ip: IP.V4) -> Color? { get }

Other members in extension

Instance members

  • subscript(v6: IP.V6) -> Color?

    Performs a bisection search to look up the color associated with the given IP address. If the IP address is an IPv6-mapped IPv4 address, the subscript will use the IPv4 subtable, otherwise it will use the IPv6 subtable.