Searched refs:ifr (Results 1 – 1 of 1) sorted by relevance
1092 struct ifreq ifr[5]; variable1097 ifc.ifc_buf = (char *)ifr;1103 printf("[###]interface name is %s\n", ifr[i].ifr_name);1120 struct ifreq ifr = {0}; variable1122 int ret = strcpy_s(ifr.ifr_name, sizeof(ifr.ifr_name), deviceLo);1124 ret = ioctl(udpFd, SIOCGIFADDR, &ifr);1126 struct sockaddr_in *srvAddr = (struct sockaddr_in *)&ifr.ifr_addr;1148 ret = ioctl(udpFd, SIOCDIFADDR, &ifr);1153 ret = ioctl(udpFd, SIOCSIFADDR, &ifr);1171 struct ifreq ifr[5]; variable[all …]