Merge "ADD new enum NetworkType to identify multiple transport type"

This commit is contained in:
Frank Li
2020-02-25 06:49:59 +00:00
committed by Gerrit Code Review

View File

@@ -169,12 +169,20 @@ enum NetworkType {
NT_BLUETOOTH = 3;
// Indicates this network uses an Ethernet transport.
NT_ETHERNET = 4;
// Indicates this network uses a VPN transport.
NT_VPN = 5;
// Indicates this network uses a VPN transport, now deprecated.
NT_VPN = 5 [deprecated=true];
// Indicates this network uses a Wi-Fi Aware transport.
NT_WIFI_AWARE = 6;
// Indicates this network uses a LoWPAN transport.
NT_LOWPAN = 7;
// Indicates this network uses a Cellular+VPN transport.
NT_CELLULAR_VPN = 8;
// Indicates this network uses a Wi-Fi+VPN transport.
NT_WIFI_VPN = 9;
// Indicates this network uses a Bluetooth+VPN transport.
NT_BLUETOOTH_VPN = 10;
// Indicates this network uses an Ethernet+VPN transport.
NT_ETHERNET_VPN = 11;
}
enum CacheStatus{