Searched refs:inet6CtrlSock (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/service/jni/ |
D | com_android_server_TestNetworkService.cpp | 91 base::unique_fd inet6CtrlSock(socket(AF_INET6, SOCK_DGRAM, 0)); in createTunTapImpl() local 94 if (ioctl(inet6CtrlSock.get(), SIOCSIFFLAGS, &ifr)) { in createTunTapImpl() 105 base::unique_fd inet6CtrlSock(socket(AF_INET6, SOCK_DGRAM, 0)); in bringUpInterfaceImpl() local 109 if (ioctl(inet6CtrlSock.get(), SIOCGIFFLAGS, &ifr)) { in bringUpInterfaceImpl() 114 if (ioctl(inet6CtrlSock.get(), SIOCSIFFLAGS, &ifr)) { in bringUpInterfaceImpl()
|
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.cpp | 160 unique_fd inet6CtrlSock(socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in createTun() local 162 if (ioctl(inet6CtrlSock.get(), SIOCSIFFLAGS, &ifr) == -1) { in createTun()
|