Searched refs:ifrsize (Results 1 – 1 of 1) sorted by relevance
842 size_t ifrsize = sizeof(*ifr); in find_device_by_ioctl() local863 ifr0 = malloc(ifrsize); in find_device_by_ioctl()870 ifc.ifc_len = ifrsize; in find_device_by_ioctl()878 …ifc.ifc_len + sizeof(*ifr0) + sizeof(struct sockaddr_storage) - sizeof(struct sockaddr) <= ifrsize) in find_device_by_ioctl()880 ifrsize *= 2; in find_device_by_ioctl()883 } while(ifrsize < INT_MAX / 2); in find_device_by_ioctl()