1/* 2 * Copyright (C) 2021 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17syntax = "proto2"; 18 19package android.net; 20 21option java_outer_classname = "NetProtoEnums"; 22option java_multiple_files = true; 23 24enum Transport { 25 // Indicates this network uses a Cellular transport. 26 TRANSPORT_CELLULAR = 0; 27 // Indicates this network uses a Wi-Fi transport. 28 TRANSPORT_WIFI = 1; 29 // Indicates this network uses a Bluetooth transport. 30 TRANSPORT_BLUETOOTH = 2; 31 // Indicates this network uses an Ethernet transport. 32 TRANSPORT_ETHERNET = 3; 33 // Indicates this network uses a VPN transport. 34 TRANSPORT_VPN = 4; 35 // Indicates this network uses a Wi-Fi Aware transport. 36 TRANSPORT_WIFI_AWARE = 5; 37 // Indicates this network uses a LoWPAN transport. 38 TRANSPORT_LOWPAN = 6; 39 // Indicates this network uses a Satellite transport. 40 TRANSPORT_SATELLITE = 7; 41} 42 43