Extracted from Pike v8.0 release 240 as of 2016-05-30.
   

Method NetUtils.IpRangeLookup()->lookup_range()


Method lookup_range

Range lookup_range(int|string ipstr)

Description

Looks up an IP address and returns the associated Range, if any.

Parameter ipstr

The IP address in string or binary form.

Returns

The matching net-range