/dports/net/openmpi3/openmpi-3.1.6/opal/mca/if/posix_ipv4/ |
H A D | if_posix.c | 77 int ifc_len; in if_posix_open() local 107 ifc_len = sizeof(struct ifreq) * DEFAULT_NUMBER_INTERFACES; in if_posix_open() 109 ifconf.ifc_len = ifc_len; in if_posix_open() 110 ifconf.ifc_req = malloc(ifc_len); in if_posix_open() 120 memset(ifconf.ifc_req, 0, ifconf.ifc_len); in if_posix_open() 138 if (ifconf.ifc_len == lastlen && ifconf.ifc_len > 0) { in if_posix_open() 143 lastlen = ifconf.ifc_len; in if_posix_open() 149 ifc_len = (ifc_len == 0) ? 1 : ifc_len * 2; in if_posix_open() 150 } while (ifc_len < MAX_IFCONF_SIZE); in if_posix_open() 161 rem = ifconf.ifc_len; in if_posix_open()
|
/dports/net/openmpi/openmpi-4.1.1/opal/mca/if/posix_ipv4/ |
H A D | if_posix.c | 77 int ifc_len; in if_posix_open() local 107 ifc_len = sizeof(struct ifreq) * DEFAULT_NUMBER_INTERFACES; in if_posix_open() 109 ifconf.ifc_len = ifc_len; in if_posix_open() 110 ifconf.ifc_req = malloc(ifc_len); in if_posix_open() 120 memset(ifconf.ifc_req, 0, ifconf.ifc_len); in if_posix_open() 138 if (ifconf.ifc_len == lastlen && ifconf.ifc_len > 0) { in if_posix_open() 143 lastlen = ifconf.ifc_len; in if_posix_open() 149 ifc_len = (ifc_len == 0) ? 1 : ifc_len * 2; in if_posix_open() 150 } while (ifc_len < MAX_IFCONF_SIZE); in if_posix_open() 161 rem = ifconf.ifc_len; in if_posix_open()
|
/dports/net/openmpi/openmpi-4.1.1/opal/mca/pmix/pmix3x/pmix/src/mca/pif/posix_ipv4/ |
H A D | pif_posix.c | 108 int ifc_len; in if_posix_open() local 138 ifc_len = sizeof(struct ifreq) * DEFAULT_NUMBER_INTERFACES; in if_posix_open() 140 ifconf.ifc_len = ifc_len; in if_posix_open() 141 ifconf.ifc_req = malloc(ifc_len); in if_posix_open() 151 memset(ifconf.ifc_req, 0, ifconf.ifc_len); in if_posix_open() 169 if (ifconf.ifc_len == lastlen && ifconf.ifc_len > 0) { in if_posix_open() 174 lastlen = ifconf.ifc_len; in if_posix_open() 180 ifc_len = (ifc_len == 0) ? 1 : ifc_len * 2; in if_posix_open() 181 } while (ifc_len < MAX_PIFCONF_SIZE); in if_posix_open() 192 rem = ifconf.ifc_len; in if_posix_open()
|
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/pmix/pmix2x/pmix/src/mca/pif/posix_ipv4/ |
H A D | pif_posix.c | 108 int ifc_len; in if_posix_open() local 138 ifc_len = sizeof(struct ifreq) * DEFAULT_NUMBER_INTERFACES; in if_posix_open() 140 ifconf.ifc_len = ifc_len; in if_posix_open() 141 ifconf.ifc_req = malloc(ifc_len); in if_posix_open() 151 memset(ifconf.ifc_req, 0, ifconf.ifc_len); in if_posix_open() 169 if (ifconf.ifc_len == lastlen && ifconf.ifc_len > 0) { in if_posix_open() 174 lastlen = ifconf.ifc_len; in if_posix_open() 180 ifc_len = (ifc_len == 0) ? 1 : ifc_len * 2; in if_posix_open() 181 } while (ifc_len < MAX_PIFCONF_SIZE); in if_posix_open() 192 rem = ifconf.ifc_len; in if_posix_open()
|
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/sys/linux/net/ |
H A D | ifreq.c | 55 ifc.ifc_len = 0; in __ifreq() 56 if (ioctl (fd, SIOCGIFCONF, &ifc) < 0 || ifc.ifc_len == 0) in __ifreq() 64 rq_len = ifc.ifc_len; in __ifreq() 72 ifc.ifc_len = rq_len; in __ifreq() 73 void *newp = realloc (ifc.ifc_buf, ifc.ifc_len); in __ifreq() 87 if (!old_siocgifconf || ifc.ifc_len < rq_len) in __ifreq() 93 nifs = ifc.ifc_len / sizeof (struct ifreq); in __ifreq()
|
/dports/net/minissdpd/minissdpd-1.5.20211105/ |
H A D | listifaces.c | 66 ifc.ifc_len = buflen; in listifaces() 76 buflen, ifc.ifc_len, (int)sizeof(struct ifreq)); in listifaces() 82 buflen = ifc.ifc_len; in listifaces() 87 } while(buflen <= ifc.ifc_len); in listifaces() 89 printhex((const unsigned char *)ifc.ifc_buf, ifc.ifc_len); 91 for(i = 0, j = 0; i<ifc.ifc_len; j++)
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/miniupnp/minissdpd/ |
H A D | listifaces.c | 66 ifc.ifc_len = buflen; in listifaces() 76 buflen, ifc.ifc_len, (int)sizeof(struct ifreq)); in listifaces() 82 buflen = ifc.ifc_len; in listifaces() 87 } while(buflen <= ifc.ifc_len); in listifaces() 89 printhex((const unsigned char *)ifc.ifc_buf, ifc.ifc_len); 91 for(i = 0, j = 0; i<ifc.ifc_len; j++)
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/miniupnp/minissdpd/ |
H A D | listifaces.c | 66 ifc.ifc_len = buflen; in listifaces() 76 buflen, ifc.ifc_len, (int)sizeof(struct ifreq)); in listifaces() 82 buflen = ifc.ifc_len; in listifaces() 87 } while(buflen <= ifc.ifc_len); in listifaces() 89 printhex((const unsigned char *)ifc.ifc_buf, ifc.ifc_len); 91 for(i = 0, j = 0; i<ifc.ifc_len; j++)
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/miniupnp/minissdpd/ |
H A D | listifaces.c | 66 ifc.ifc_len = buflen; in listifaces() 76 buflen, ifc.ifc_len, (int)sizeof(struct ifreq)); in listifaces() 82 buflen = ifc.ifc_len; in listifaces() 87 } while(buflen <= ifc.ifc_len); in listifaces() 89 printhex((const unsigned char *)ifc.ifc_buf, ifc.ifc_len); 91 for(i = 0, j = 0; i<ifc.ifc_len; j++)
|
/dports/net-mgmt/dhcp_probe/dhcp_probe-1.3.1/src/ |
H A D | get_myipaddr.c | 72 ifconf.ifc_len = ioc.ic_len; in get_myipaddr() 75 ifconf.ifc_len = len; in get_myipaddr() 92 if (ifconf.ifc_len &&(ifconf.ifc_len == lastlen)) in get_myipaddr() 94 lastlen = ifconf.ifc_len; in get_myipaddr() 100 for (ptr = buf; ptr < buf + ifconf.ifc_len; ) { /* walk through the struct ifreq's in buf */ in get_myipaddr()
|
/dports/mail/avenger/avenger-0.8.5/libasync/ |
H A D | myaddrs.C | 49 ifc.ifc_len = MAXCONFBUF; in myipaddrs() 52 ifc.ifc_len = len; in myipaddrs() 54 ifc.ifc_buf = (char *) xmalloc (ifc.ifc_len); in myipaddrs() 63 if (ifc.ifc_len + sizeof (struct ifreq) + 64 < len) in myipaddrs() 78 e = p + ifc.ifc_len; in myipaddrs()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/libjava/java/net/ |
H A D | natNetworkInterfacePosix.cc | 54 if_data.ifc_len = 0; in getRealNetworkInterfaces() 69 if_data.ifc_len = sizeof (struct ifreq) * num_interfaces; in getRealNetworkInterfaces() 71 (char*) _Jv_Realloc (if_data.ifc_buf, if_data.ifc_len); in getRealNetworkInterfaces() 77 while (if_data.ifc_len >= (sizeof (struct ifreq) * num_interfaces)); in getRealNetworkInterfaces() 82 for (int n = 0; n < if_data.ifc_len; n += sizeof (struct ifreq)) in getRealNetworkInterfaces()
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/libjava/java/net/ |
H A D | natNetworkInterfacePosix.cc | 54 if_data.ifc_len = 0; in getRealNetworkInterfaces() 69 if_data.ifc_len = sizeof (struct ifreq) * num_interfaces; in getRealNetworkInterfaces() 71 (char*) _Jv_Realloc (if_data.ifc_buf, if_data.ifc_len); in getRealNetworkInterfaces() 77 while (if_data.ifc_len >= (sizeof (struct ifreq) * num_interfaces)); in getRealNetworkInterfaces() 82 for (int n = 0; n < if_data.ifc_len; n += sizeof (struct ifreq)) in getRealNetworkInterfaces()
|
/dports/net/udpxy/udpxy-1.0-24.1/chipmunk/test/fbsd/ |
H A D | ifaddr.c | 108 ifc.ifc_len = buflen; 117 if( ifc.ifc_len == last_len ) 120 last_len = ifc.ifc_len; 142 nsz = fwrite(ifc.ifc_buf, ifc.ifc_len, 1, fp_ifc ); 150 for( rec = ifc.ifc_buf; rec < (ifc.ifc_buf + ifc.ifc_len); ) { 154 (void*)rec, (void*)(ifc.ifc_buf + ifc.ifc_len) ); 168 if( rec >= (buf + ifc.ifc_len) ) {
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/lib/krb5/os/ |
H A D | t_gifconf.c | 95 ifc.ifc_len = t; in main() 127 if (olen != ifc.ifc_len || omod != i) { in main() 129 t, ifc.ifc_len, i); in main() 130 olen = ifc.ifc_len; in main()
|
/dports/security/krb5/krb5-1.19.2/src/lib/krb5/os/ |
H A D | t_gifconf.c | 95 ifc.ifc_len = t; in main() 127 if (olen != ifc.ifc_len || omod != i) { in main() 129 t, ifc.ifc_len, i); in main() 130 olen = ifc.ifc_len; in main()
|
/dports/net-mgmt/sipcalc/sipcalc-1.1.6/src/ |
H A D | interface.c | 106 ifc.ifc_len = size; in get_if_ext() 114 if (ifc.ifc_len == prev_size) in get_if_ext() 116 prev_size = ifc.ifc_len; in get_if_ext() 127 while (ptr < buf + ifc.ifc_len) { in get_if_ext() 141 while ((ptr < buf + ifc.ifc_len) && ifr in get_if_ext() 173 if (!ifr || ptr >= buf + ifc.ifc_len) in get_if_ext()
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/java/net/ |
H A D | natVMNetworkInterfacePosix.cc | 106 if_data.ifc_len = 0; in getInterfaces() 121 if_data.ifc_len = sizeof (struct ifreq) * num_interfaces; in getInterfaces() 123 (char*) _Jv_Realloc (if_data.ifc_buf, if_data.ifc_len); in getInterfaces() 129 while (if_data.ifc_len >= (int) (sizeof (struct ifreq) * num_interfaces)); in getInterfaces() 134 for (int n = 0; n < if_data.ifc_len; n += sizeof (struct ifreq)) in getInterfaces()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/java/net/ |
H A D | natVMNetworkInterfacePosix.cc | 106 if_data.ifc_len = 0; in getInterfaces() 121 if_data.ifc_len = sizeof (struct ifreq) * num_interfaces; in getInterfaces() 123 (char*) _Jv_Realloc (if_data.ifc_buf, if_data.ifc_len); in getInterfaces() 129 while (if_data.ifc_len >= (int) (sizeof (struct ifreq) * num_interfaces)); in getInterfaces() 134 for (int n = 0; n < if_data.ifc_len; n += sizeof (struct ifreq)) in getInterfaces()
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/java/net/ |
H A D | natVMNetworkInterfacePosix.cc | 106 if_data.ifc_len = 0; in getInterfaces() 121 if_data.ifc_len = sizeof (struct ifreq) * num_interfaces; in getInterfaces() 123 (char*) _Jv_Realloc (if_data.ifc_buf, if_data.ifc_len); in getInterfaces() 129 while (if_data.ifc_len >= (int) (sizeof (struct ifreq) * num_interfaces)); in getInterfaces() 134 for (int n = 0; n < if_data.ifc_len; n += sizeof (struct ifreq)) in getInterfaces()
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/java/net/ |
H A D | natVMNetworkInterfacePosix.cc | 106 if_data.ifc_len = 0; in getInterfaces() 121 if_data.ifc_len = sizeof (struct ifreq) * num_interfaces; in getInterfaces() 123 (char*) _Jv_Realloc (if_data.ifc_buf, if_data.ifc_len); in getInterfaces() 129 while (if_data.ifc_len >= (int) (sizeof (struct ifreq) * num_interfaces)); in getInterfaces() 134 for (int n = 0; n < if_data.ifc_len; n += sizeof (struct ifreq)) in getInterfaces()
|
/dports/lang/gcc48/gcc-4.8.5/libjava/java/net/ |
H A D | natVMNetworkInterfacePosix.cc | 106 if_data.ifc_len = 0; in getInterfaces() 121 if_data.ifc_len = sizeof (struct ifreq) * num_interfaces; in getInterfaces() 123 (char*) _Jv_Realloc (if_data.ifc_buf, if_data.ifc_len); in getInterfaces() 129 while (if_data.ifc_len >= (int) (sizeof (struct ifreq) * num_interfaces)); in getInterfaces() 134 for (int n = 0; n < if_data.ifc_len; n += sizeof (struct ifreq)) in getInterfaces()
|
/dports/chinese/bitchx/bitchx-1.2.1/contrib/ |
H A D | vh1.c | 62 ifc.ifc_len = bufsize; in main() 65 oldbufsize = ifc.ifc_len; in main() 68 ifc.ifc_len = bufsize; in main() 76 while (ifc.ifc_len > oldbufsize); in main() 78 end = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); in main()
|
/dports/irc/bitchx/bitchx-1.2.1/contrib/ |
H A D | vh1.c | 62 ifc.ifc_len = bufsize; in main() 65 oldbufsize = ifc.ifc_len; in main() 68 ifc.ifc_len = bufsize; in main() 76 while (ifc.ifc_len > oldbufsize); in main() 78 end = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); in main()
|
/dports/net/mpich2/mpich2-1.5/src/mpid/ch3/util/sock/ |
H A D | findinterfaces.c | 125 ifconf.ifc_len = buf_len; in GetLocalIPs() 135 if (ifconf.ifc_len == buf_len_prev) in GetLocalIPs() 137 buf_len = ifconf.ifc_len; in GetLocalIPs() 141 buf_len_prev = ifconf.ifc_len; in GetLocalIPs()
|