Searched defs:Ifaces (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Main/src-server/solaris/
H A DNetIf-solaris.cpp458 struct lifreq *Ifaces = (struct lifreq *)RTMemTmpAlloc(cbIfaces); local
459 if (Ifaces)
465 IfConfig.lifc_buf = (caddr_t)Ifaces;
474 if (!strncmp(Ifaces[i].lifr_name, RT_STR_TUPLE("lo")))
478 rc = ioctl(Sock, SIOCGLIFADDR, &(Ifaces[i]));
481 memcpy(Info.IPAddress.au8, ((struct sockaddr *)&Ifaces[i].lifr_addr)->sa_data,
485 memcpy(&ArpReq.arp_pa, &Ifaces[i].lifr_addr, sizeof(struct sockaddr_in));
498 char *pszIface = Ifaces[i].lifr_name;
505 char *pszIface = Ifaces[i].lifr_name;
509 RTMemTmpFree(Ifaces);
[all...]

Completed in 42 milliseconds