Searched refs:mtu (Results 1 – 4 of 4) sorted by relevance
58 public int mtu = -1; field in VpnConfig76 out.writeInt(mtu); in writeToParcel()93 config.mtu = in.readInt();
290 public Builder setMtu(int mtu) { in setMtu() argument291 if (mtu <= 0) { in setMtu()294 mConfig.mtu = mtu; in setMtu()
56 static int create_interface(int mtu) in create_interface() argument78 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() argument327 int tun = create_interface(mtu); in create()
209 ParcelFileDescriptor tun = ParcelFileDescriptor.adoptFd(jniCreate(config.mtu)); in establish()341 private native int jniCreate(int mtu); in jniCreate() argument