function unet_is_valid_network_v4() { return net ~ [ 10.50.0.0/16+, 10.88.0.0/16+, 10.21.0.0/16+, 10.188.0.0/16+ ]; } function unet_is_valid_network_v4_allnet(){ if unet_is_valid_network_v4() then return true; if is_self_net_inet4() then return true; if is_self_net_dn42v4() then return true; return false; } function unet_is_voalid_net_v6(){ if is_self_net_inet6() then return true; if is_self_net_dn42v6() then return true; return false; }