Home
last modified time | relevance | path

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

/system/core/libnetutils/
Difc_utils.c60 static int ifc_ctl_sock6 = -1; variable
145 if (ifc_ctl_sock6 == -1) { in ifc_init6()
146 ifc_ctl_sock6 = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); in ifc_init6()
147 if (ifc_ctl_sock6 < 0) { in ifc_init6()
151 return ifc_ctl_sock6 < 0 ? -1 : 0; in ifc_init6()
166 if (ifc_ctl_sock6 != -1) { in ifc_close6()
167 (void)close(ifc_ctl_sock6); in ifc_close6()
168 ifc_ctl_sock6 = -1; in ifc_close6()
657 success = ioctl(ifc_ctl_sock6, SIOCKILLADDR, &ifr6); in ifc_reset_connections()