Home
last modified time | relevance | path

Searched refs:tunfd (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/virtualizationservice/vmnic/src/
Daidl.rs108 let tunfd = File::open("/dev/tun") in createTapInterface() localVariable
114 create_tap_interface(tunfd.as_raw_fd(), sock.as_raw_fd(), ifname_bytes) in createTapInterface()
119 Ok(ParcelFileDescriptor::new(tunfd)) in createTapInterface()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java296 public int startClatd(@NonNull FileDescriptor tunfd, @NonNull FileDescriptor readsock6, in startClatd() argument
299 if (Objects.equals(TUN_PFD.getFileDescriptor(), tunfd) in startClatd()
308 fail("unsupported args: " + tunfd + ", " + readsock6 + ", " + writesock6 + ", " in startClatd()
715 public int startClatd(@NonNull FileDescriptor tunfd, @NonNull FileDescriptor readsock6, in testNotStartClatWithNativeFailureStartClatd() argument
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java236 public int startClatd(@NonNull FileDescriptor tunfd, @NonNull FileDescriptor readsock6, in startClatd() argument
239 return native_startClatd(tunfd, readsock6, writesock6, iface, pfx96, v4, v6); in startClatd()
877 private static native int native_startClatd(FileDescriptor tunfd, FileDescriptor readsock6, in native_startClatd() argument