Home | History | Annotate | Download | only in mDNSPosix

Lines Matching refs:ifr_name

173 			strncpy(ifr.ifr_name, ifname, IFNAMSIZ);
283 if (sizeof(struct ifreq) > sizeof(ifr->ifr_name) + GET_SA_LEN(ifr->ifr_addr))
286 ptr += sizeof(ifr->ifr_name) + GET_SA_LEN(ifr->ifr_addr);
288 // fprintf(stderr, "intf %p name=%s AF=%d\n", index, ifr->ifr_name, ifr->ifr_addr.sa_family);
294 if ( (cptr = strchr(ifr->ifr_name, ':')) != NULL)
296 if (strncmp(lastname, ifr->ifr_name, IFNAMSIZ) == 0) {
301 memcpy(lastname, ifr->ifr_name, IFNAMSIZ);
324 ifi->ifi_index = if_nametoindex(ifr->ifr_name);
334 memcpy(ifi->ifi_name, ifr->ifr_name, IFI_NAME);
438 memcpy(&ifr6.ifr_name, &ifr->ifr_name, sizeof(ifr6.ifr_name ));