Home
last modified time | relevance | path

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

/system/core/libnetutils/
Difc_utils.c56 static int ifc_ctl_sock6 = -1; variable
141 if (ifc_ctl_sock6 == -1) { in ifc_init6()
142 ifc_ctl_sock6 = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); in ifc_init6()
143 if (ifc_ctl_sock6 < 0) { in ifc_init6()
147 return ifc_ctl_sock6 < 0 ? -1 : 0; in ifc_init6()
162 if (ifc_ctl_sock6 != -1) { in ifc_close6()
163 (void)close(ifc_ctl_sock6); in ifc_close6()
164 ifc_ctl_sock6 = -1; in ifc_close6()
653 success = ioctl(ifc_ctl_sock6, SIOCKILLADDR, &ifr6); in ifc_reset_connections()