Lines Matching refs:ifc_ctl_sock6
54 static int ifc_ctl_sock6 = -1;
134 if (ifc_ctl_sock6 == -1) {
135 ifc_ctl_sock6 = socket(AF_INET6, SOCK_DGRAM, 0);
136 if (ifc_ctl_sock6 < 0) {
140 return ifc_ctl_sock6 < 0 ? -1 : 0;
154 if (ifc_ctl_sock6 != -1) {
155 (void)close(ifc_ctl_sock6);
156 ifc_ctl_sock6 = -1;
632 success = ioctl(ifc_ctl_sock6, SIOCKILLADDR, &ifr6);
851 if (ifc_ctl_sock6 < 0) {
855 result = ioctl(ifc_ctl_sock6, action, &rtmsg);