Searched refs:ifc_ctl_sock6 (Results 1 – 1 of 1) sorted by relevance
56 static int ifc_ctl_sock6 = -1; variable145 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()655 success = ioctl(ifc_ctl_sock6, SIOCKILLADDR, &ifr6); in ifc_reset_connections()