Searched refs:mtu (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java65 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 DVpnService.java291 public Builder setMtu(int mtu) { argument
292 if (mtu <= 0) {
293 throw new IllegalArgumentException("Bad mtu");
295 mConfig.mtu = mtu;
H A DLinkProperties.java228 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 Dandroid_net_NetUtils.cpp41 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 Dcom_android_server_connectivity_Vpn.cpp56 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 DINetworkManagementService.aidl123 void setMtu(String iface, int mtu);
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java357 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 DConnectivityService.java2655 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 DNetworkManagementService.java773 // 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