Searched refs:ifr (Results 1 – 1 of 1) sorted by relevance
58 struct ifreq ifr = { in TunInit() local61 strncpy(ifr.ifr_name, ifr_name_.c_str(), IFNAMSIZ); in TunInit()66 if (ioctl(fd, TUNSETIFF, (void *) &ifr) < 0) { in TunInit()