Searched refs:ifc_len (Results 1 – 19 of 19) sorted by relevance
94 ifconf.ifc_len = (short)(int)buf_size; in getifaddrs2()96 ifconf.ifc_len = (int)buf_size; in getifaddrs2()112 if (ifconf.ifc_len < (int)buf_size) in getifaddrs2()118 for (p = ifconf.ifc_buf; p < ifconf.ifc_buf + ifconf.ifc_len; p += sz) { in getifaddrs2()
95 ifc.ifc_len = 3 * sizeof(struct ifreq); in ioctl_0200()99 int ifrCount = ifc.ifc_len / sizeof(struct ifreq); in ioctl_0200()
256 ifc.ifc_len = sizeof (buf); in setup_sockets()261 probed_ifaces = g_new0 (gchar *, ifc.ifc_len + 1); in setup_sockets()263 for (i = 0; i < ifc.ifc_len / sizeof (struct ifreq); i++) { in setup_sockets()338 ifc.ifc_len = sizeof (buf); in setup_sockets()343 for (i = 0; i < ifc.ifc_len / sizeof (struct ifreq); i++) { in setup_sockets()
250 ifconfig.ifc_len = sizeof(ifr); in getifaddrs()255 if (ifconfig.ifc_len % sizeof(struct ifreq)) { in getifaddrs()259 ifno = ifconfig.ifc_len / sizeof(struct ifreq); in getifaddrs()
347 ifcon.ifc_len = sizeof(struct ifreq)*num; in show_iface()348 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()350 if (ifcon.ifc_len != sizeof(struct ifreq)*num) break; in show_iface()354 for(num = 0; num < ifcon.ifc_len && ifre; num += sizeof(struct ifreq), ifre++) in show_iface()
348 ifcon.ifc_len = sizeof(struct ifreq)*num; in show_iface()349 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()351 if (ifcon.ifc_len != sizeof(struct ifreq)*num) break; in show_iface()355 for(num = 0; num < ifcon.ifc_len && ifre; num += sizeof(struct ifreq), ifre++) in show_iface()
117 int ifc_len; member
282 int ifc_len; /* size of buffer */ member
384 ifc.ifc_len = maxsize; in uv_interface_addresses()395 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses()438 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses()
1134 ifc.ifc_len = size; in uv_interface_addresses()1144 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses()1177 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses()1231 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses()
223 ifc.ifc_len = sizeof(buf); in setup2()
259 ifc.ifc_len = sizeof(buf); in get_node_id()265 n = ifc.ifc_len; in get_node_id()
253 ifc.ifc_len = sizeof(buf);260 int interface_num = ifc.ifc_len / sizeof(struct ifreq);
565 ifc.ifc_len = sizeof(buf); in loopback_packet_check()571 int interfaceNum = ifc.ifc_len / sizeof(struct ifreq); in loopback_packet_check()