Home
last modified time | relevance | path

Searched refs:mtu (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java58 public int mtu = -1; field in VpnConfig
76 out.writeInt(mtu); in writeToParcel()
93 config.mtu = in.readInt();
/frameworks/base/core/java/android/net/
DVpnService.java290 public Builder setMtu(int mtu) { in setMtu() argument
291 if (mtu <= 0) { in setMtu()
294 mConfig.mtu = mtu; in setMtu()
/frameworks/base/services/jni/
Dcom_android_server_connectivity_Vpn.cpp56 static int create_interface(int mtu) in create_interface() argument
78 ifr4.ifr_mtu = mtu; in create_interface()
79 if (mtu > 0 && ioctl(inet4, SIOCSIFMTU, &ifr4)) { in create_interface()
325 static jint create(JNIEnv *env, jobject thiz, jint mtu) in create() argument
327 int tun = create_interface(mtu); in create()
/frameworks/base/services/java/com/android/server/connectivity/
DVpn.java209 ParcelFileDescriptor tun = ParcelFileDescriptor.adoptFd(jniCreate(config.mtu)); in establish()
341 private native int jniCreate(int mtu); in jniCreate() argument