blob: fcc86e32acef6d25bb4491667b0e79f5aff91295 [file] [log] [blame]
markchiena7d235a2021-09-29 12:19:44 +08001/**
2 * Copyright (c) 2020, 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
17package android.net;
18
19parcelable RouteInfoParcel {
20 // The destination of the route.
21 @utf8InCpp String destination;
22 // The name of interface of the route. This interface should be assigned to the netID.
23 @utf8InCpp String ifName;
24 // The route's next hop address, or one of the NEXTHOP_* constants defined in INetd.aidl.
25 @utf8InCpp String nextHop;
26 // The MTU of the route.
27 int mtu;
28}