2.5.18. Network

TODO.

2.5.18.1. Instruction

target = net.contains op1 op2 [network::Contains]
Target:bool
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]
Target:int<8>
Operator 1:net

Returns the length of the network prefix.

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

Returns the network prefix as a masked IP addr.