2.5.18. Network

TODO. Instruction

target = net.contains op1 op2 [network::Contains]
Operator 1:net
Operator 2:addr

Returns true if the address op2 is located inside the network prefix op1.

target = net.family op1 [network::Family]
Target:enum { }
Operator 1:net

Returns the address family of op1, which can currently be either AddrFamily::IPv4 or AddrFamiliy::IPv6.

target = net.length op1 [network::Length]
Operator 1:net

Returns the length of the network prefix.

target = net.prefix op1 [network::Prefix]
Operator 1:net

Returns the network prefix as a masked IP addr.