Searched refs:mtu (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnConfig.java | 65 public int mtu = -1; field in class:VpnConfig 112 out.writeInt(mtu); 130 config.mtu = in.readInt();
|
/frameworks/base/core/java/android/net/ |
H A D | VpnService.java | 291 public Builder setMtu(int mtu) { argument 292 if (mtu <= 0) { 293 throw new IllegalArgumentException("Bad mtu"); 295 mConfig.mtu = mtu;
|
H A D | LinkProperties.java | 228 public void setMtu(int mtu) { argument 229 mMtu = mtu; 360 String mtu = "MTU: " + mMtu; 375 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mtu
|
/frameworks/base/core/jni/ |
H A D | android_net_NetUtils.cpp | 41 const char *mtu); 52 const char *mtu); 131 char mtu[PROPERTY_VALUE_MAX]; local 138 dns, server, &lease, vendorInfo, domains, mtu); 141 dns, server, &lease, vendorInfo, domains, mtu);
|
/frameworks/base/services/jni/ |
H A D | com_android_server_connectivity_Vpn.cpp | 56 static int create_interface(int mtu) argument 78 ifr4.ifr_mtu = mtu; 79 if (mtu > 0 && ioctl(inet4, SIOCSIFMTU, &ifr4)) { 325 static jint create(JNIEnv *env, jobject thiz, jint mtu) argument 327 int tun = create_interface(mtu);
|
/frameworks/base/core/java/android/os/ |
H A D | INetworkManagementService.aidl | 123 void setMtu(String iface, int mtu);
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Vpn.java | 357 ParcelFileDescriptor tun = ParcelFileDescriptor.adoptFd(jniCreate(config.mtu)); 667 private native int jniCreate(int mtu); argument 765 "usepeerdns", "idle", "1800", "mtu", "1400", "mru", "1400", 775 "usepeerdns", "idle", "1800", "mtu", "1400", "mru", "1400",
|
/frameworks/base/services/java/com/android/server/ |
H A D | ConnectivityService.java | 2655 final int mtu = nt.getLinkProperties().getMtu(); 2657 if (mtu < 68 || mtu > 10000) { 2658 loge("Unexpected mtu value: " + nt); 2663 if (VDBG) log("Setting MTU size: " + iface + ", " + mtu); 2664 mNetd.setMtu(iface, mtu);
|
H A D | NetworkManagementService.java | 773 // iface dest-addr gateway-addr flags refcnt use metric netmask mtu window IRTT 843 public void setMtu(String iface, int mtu) { argument 848 event = mConnector.execute("interface", "setmtu", iface, mtu);
|
Completed in 199 milliseconds