HomeSort by relevance Sort by last modified time
    Searched full:ifc_ctl_sock (Results 1 - 1 of 1) sorted by null

  /system/core/libnetutils/
ifc_utils.c 53 static int ifc_ctl_sock = -1; variable
120 if (ifc_ctl_sock == -1) {
121 ifc_ctl_sock = socket(AF_INET, SOCK_DGRAM, 0);
122 if (ifc_ctl_sock < 0) {
127 ret = ifc_ctl_sock < 0 ? -1 : 0;
146 if (ifc_ctl_sock != -1) {
147 (void)close(ifc_ctl_sock);
148 ifc_ctl_sock = -1;
173 r = ioctl(ifc_ctl_sock, SIOCGIFHWADDR, &ifr);
186 r = ioctl(ifc_ctl_sock, SIOCGIFINDEX, &ifr)
    [all...]

Completed in 224 milliseconds