Searched refs:ifr0 (Results 1 – 2 of 2) sorted by relevance
841 struct ifreq *ifr0, *ifr, *ifr_end; in find_device_by_ioctl() local863 ifr0 = malloc(ifrsize); in find_device_by_ioctl()864 if (!ifr0) { in find_device_by_ioctl()869 ifc.ifc_buf = (char *)ifr0; in find_device_by_ioctl()878 …if (ifc.ifc_len + sizeof(*ifr0) + sizeof(struct sockaddr_storage) - sizeof(struct sockaddr) <= ifr… in find_device_by_ioctl()881 free(ifr0); in find_device_by_ioctl()882 ifr0 = NULL; in find_device_by_ioctl()885 if (!ifr0) { in find_device_by_ioctl()890 ifr_end = (struct ifreq *)(((char *)ifr0) + ifc.ifc_len - sizeof(*ifr0)); in find_device_by_ioctl()891 for (ifr = ifr0; ifr <= ifr_end; ifr++) { in find_device_by_ioctl()
1247 struct ifreq ifr0, ifr1; in do_set() local1371 newaddr, &ifr0) < 0) in do_set()1400 if (set_address(&ifr0, 0) < 0) in do_set()