/macosx-10.10.1/Libinfo-459/rpc.subproj/ |
H A D | get_myaddress.c | 83 struct ifconf ifc; local 99 ifc.ifc_len = sizeof(buf); 100 ifc.ifc_buf = buf; 102 if (ioctl(s, SIOCGIFCONF, (char *)&ifc) < 0) 112 while (offset <= ifc.ifc_len) 114 ifr = (struct ifreq *)(ifc.ifc_buf + offset);
|
H A D | pmap_rmt.c | 212 struct ifconf ifc; local 218 ifc.ifc_len = UDPMSGSIZE; 219 ifc.ifc_buf = buf; 220 if (ioctl(sock, SIOCGIFCONF, (char *)&ifc) < 0) { 226 cplim = buf + ifc.ifc_len; /*skip over if's with big ifr_addr's */
|
/macosx-10.10.1/dcerpc-61/dcerpc/uuid/ |
H A D | get_802_addr.c | 122 struct ifconf ifc; local 140 ifc.ifc_len = sizeof(buf); 141 ifc.ifc_buf = buf; 144 i = ioctl(s, SIOCGIFCONF, (char *)&ifc); 151 for (i = 0; i < ifc.ifc_len; ) { 152 ifr = (struct ifreq *)&ifc.ifc_buf[i];
|
/macosx-10.10.1/network_cmds-457/traceroute.tproj/ |
H A D | ifaddrlist.c | 107 struct ifconf ifc; local 118 ifc.ifc_len = sizeof(ibuf); 119 ifc.ifc_buf = (caddr_t)ibuf; 121 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 || 122 ifc.ifc_len < sizeof(struct ifreq)) { 134 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len);
|
/macosx-10.10.1/libpcap-48/libpcap/ |
H A D | fad-gifc.c | 146 struct ifconf ifc; local 184 ifc.ifc_len = buf_size; 185 ifc.ifc_buf = buf; 187 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 195 if (ifc.ifc_len < buf_size && 196 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) 203 ifend = (struct ifreq *)(buf + ifc.ifc_len); 226 * doesn't update ifc.ifc_len, leaving it larger than the
|
H A D | fad-glifc.c | 89 struct lifconf ifc; local 151 ifc.lifc_len = buf_size; 152 ifc.lifc_buf = buf; 153 ifc.lifc_family = AF_UNSPEC; 154 ifc.lifc_flags = 0; 156 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { 169 ifend = (struct lifreq *)(buf + ifc.lifc_len);
|
/macosx-10.10.1/Libc-1044.1.2/uuid/uuidsrc/ |
H A D | gen_uuid.c | 85 struct ifconf ifc; local 114 ifc.ifc_len = sizeof(buf); 115 ifc.ifc_buf = buf; 116 if (ioctl (sd, SIOCGIFCONF, (char *)&ifc) < 0) { 120 n = ifc.ifc_len; 122 ifrp = (struct ifreq *)((char *) ifc.ifc_buf+i);
|
/macosx-10.10.1/Libinfo-459/gen.subproj/ |
H A D | getifaddrs.c | 114 struct ifconf ifc; local 221 ifc.ifc_buf = buf; 222 ifc.ifc_len = sizeof(buf); 229 i = ioctl(sock, SIOCGIFCONF, (char *)&ifc); 236 ifr = ifc.ifc_req; 237 lifr = (struct ifreq *)&ifc.ifc_buf[ifc.ifc_len]; 381 ifr = ifc.ifc_req; 382 lifr = (struct ifreq *)&ifc.ifc_buf[ifc [all...] |
/macosx-10.10.1/dcerpc-61/dcerpc/ncklib/ |
H A D | ipnaf_bsd.c | 240 struct ifconf ifc; 258 ifc.ifc_len = sizeof (buf); 259 ifc.ifc_buf = (caddr_t) buf; 262 if (ioctl (desc, (int) SIOCGIFCONF, (caddr_t) &ifc) < 0) 278 n_ifs = ifc.ifc_len / sizeof (struct ifreq); 280 ("%d bytes of ifreqs, ifreq is %d bytes\n", ifc.ifc_len, sizeof(struct ifreq))); 288 for (i=0; i<ifc.ifc_len; i++) { 336 last_ifr = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); 338 for (i=0, ifr = ifc [all...] |
H A D | comsoc_bsd.c | 1835 struct ifconf ifc; 1852 ifc.ifc_len = sizeof (reqbuf.buf); 1853 ifc.ifc_buf = (caddr_t) reqbuf.buf; 1856 if (ioctl (lrpc->fd, SIOCGIFCONF, (caddr_t) &ifc) < 0) 1872 n_ifs = ifc.ifc_len / sizeof (struct ifreq); 1875 (unsigned long)ifc.ifc_len, 1884 for (i=0; i<ifc.ifc_len; i++) { 1956 last_ifr = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); 1958 for (i=0, ifr = ifc 1814 struct ifconf ifc; local [all...] |
/macosx-10.10.1/network_cmds-457/rarpd.tproj/ |
H A D | rarpd.c | 235 struct ifconf ifc; local 245 ifc.ifc_len = sizeof(inbuf); 246 ifc.ifc_buf = inbuf; 247 if (ioctl(fd, SIOCGIFCONF, (caddr_t)&ifc) < 0 || 248 ifc.ifc_len < sizeof(struct ifreq)) { 252 ifr = ifc.ifc_req; 253 for (i = 0; i < ifc.ifc_len; 575 struct ifconf ifc; local 591 ifc.ifc_len = sizeof(inbuf); 592 ifc [all...] |
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/ |
H A D | uuid.c | 117 struct ifconf ifc; 133 ifc.ifc_len = sizeof( buf ); 134 ifc.ifc_buf = buf; 137 i = ioctl( s, SIOCGIFCONF, (char *)&ifc ); 144 for ( i = 0; i < ifc.ifc_len; ) { 145 ifr = (struct ifreq *)&ifc.ifc_buf[i];
|
/macosx-10.10.1/postfix-255/postfix/src/util/ |
H A D | inet_addr_local.c | 349 struct ifconf ifc; local 376 ifc.ifc_len = vstring_avail(buf); 377 ifc.ifc_buf = vstring_str(buf); 378 if (ioctl(sock, SIOCGIFCONF, (char *) &ifc) < 0) { 381 } else if (ifc.ifc_len < vstring_avail(buf) / 2) 386 the_end = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); 387 for (ifr = ifc.ifc_req; ifr < the_end;) {
|
/macosx-10.10.1/smb-759.0/lib/smb/ |
H A D | nb_net.c | 81 struct ifconf ifc; local 94 ifc.ifc_len = (int)sizeof (buffer); 95 ifc.ifc_buf = (char*) buffer; 96 if (ioctl(so, SIOCGIFCONF, (char *)&ifc) < 0) { 101 for (ifReqIter = buffer; ifReqIter < (buffer + ifc.ifc_len);) { 391 struct ifconf ifc; local 410 ifc.ifc_len = rdlen; 411 ifc.ifc_buf = ifrdata; 412 if (ioctl(s, SIOCGIFCONF, &ifc) != 0) { 416 ifrqp = ifc [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/net/ |
H A D | if.c | 457 struct if_clone *ifc; local 464 ifc = if_clone_lookup(name, &unit); 465 if (ifc == NULL) 477 while ((bytoff < ifc->ifc_bmlen) 478 && (ifc->ifc_units[bytoff] == 0xff)) 480 if (bytoff >= ifc->ifc_bmlen) 482 while ((ifc->ifc_units[bytoff] & (1 << bitoff)) != 0) 487 if (unit > ifc->ifc_maxunit) 490 err = (*ifc->ifc_create)(ifc, uni 531 struct if_clone *ifc; local 570 struct if_clone *ifc; local 609 if_clone_attach(struct if_clone *ifc) argument 655 if_clone_detach(struct if_clone *ifc) argument 669 struct if_clone *ifc; local 1439 struct ifconf32 ifc; local 1449 struct ifconf64 ifc; local [all...] |
H A D | kpi_interface.c | 2412 struct if_clone *ifc = NULL; local 2432 ifc = _MALLOC(sizeof (struct if_clone) + IFNAMSIZ + 1, M_CLONE, 2434 if (ifc == NULL) { 2439 strlcpy((char *)(ifc + 1), cloner_params->ifc_name, IFNAMSIZ + 1); 2440 ifc->ifc_name = (char *)(ifc + 1); 2441 ifc->ifc_namelen = namelen; 2442 ifc->ifc_maxunit = IF_MAXUNIT; 2443 ifc->ifc_create = cloner_params->ifc_create; 2444 ifc 2464 struct if_clone *ifc = ifcloner; local [all...] |
H A D | if_pflog.c | 136 pflog_clone_create(struct if_clone *ifc, u_int32_t unit, __unused void *params) argument 156 pf_init.name = ifc->ifc_name;
|
H A D | if_gif.c | 255 struct if_clone *ifc = NULL; local 288 ifc = if_clone_lookup("gif", NULL); 289 gif_clone_create(ifc, 0, NULL); 319 gif_clone_create(struct if_clone *ifc, uint32_t unit, __unused void *params) argument 344 ifc->ifc_name, unit);
|
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/unix/ |
H A D | ifiter_ioctl.c | 58 struct ifconf ifc; member in struct:isc_interfaceiter 121 memset(&iter->ifc.ifc_len, 0, sizeof(iter->ifc.ifc_len)); 122 iter->ifc.ifc_len = iter->bufsize; 123 iter->ifc.ifc_buf = iter->buf; 129 if (ioctl(iter->socket, SIOCGIFCONF, (char *)&iter->ifc) 151 * ifc.lifc_len is too near to the end of the 155 if (iter->ifc.ifc_len + 2 * sizeof(struct ifreq) 252 * ifc.ifc_len is too near to the end of the 443 if (iter->ifc [all...] |
/macosx-10.10.1/ntp-92/lib/isc/unix/ |
H A D | ifiter_ioctl.c | 60 struct ifconf ifc; member in struct:isc_interfaceiter 123 memset(&iter->ifc.ifc_len, 0, sizeof(iter->ifc.ifc_len)); 124 iter->ifc.ifc_len = iter->bufsize; 125 iter->ifc.ifc_buf = iter->buf; 131 if (ioctl(iter->socket, SIOCGIFCONF, (char *)&iter->ifc) 153 * ifc.lifc_len is too near to the end of the 157 if (iter->ifc.ifc_len + 2 * sizeof(struct ifreq) 254 * ifc.ifc_len is too near to the end of the 445 if (iter->ifc [all...] |
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSPosix/ |
H A D | mDNSUNP.c | 223 struct ifconf ifc; local 252 ifc.ifc_len = len; 253 ifc.ifc_buf = buf; 254 if (ioctl(sockfd, SIOCGIFCONF, &ifc) < 0) { 259 if (ifc.ifc_len == lastlen) 261 lastlen = ifc.ifc_len; 272 for (ptr = buf; ptr < buf + ifc.ifc_len; ) {
|
/macosx-10.10.1/network_cmds-457/arp.tproj/ |
H A D | arp.c | 888 struct ifconf ifc; local 897 ifc.ifc_len = sizeof(ifs); 898 ifc.ifc_req = ifs; 899 if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) { 912 ifend = (struct ifreq *)(ifc.ifc_buf + ifc.ifc_len); 913 for (ifr = ifc.ifc_req; ifr < ifend; ifr = NEXTIFR(ifr) ) { 952 for (ifr = ifc.ifc_req; ifr < ifend; ifr = NEXTIFR(ifr))
|
/macosx-10.10.1/remote_cmds-47/timed.tproj/timed.tproj/ |
H A D | timed.c | 129 struct ifconf ifc; local 277 ifc.ifc_len = sizeof(buf); 278 ifc.ifc_buf = buf; 279 if (ioctl(sock, SIOCGIFCONF, (char *)&ifc) < 0) 283 cplim = buf + ifc.ifc_len; /*skip over if's with big ifr_addr's */
|
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/ |
H A D | getipnode.c | 672 struct ifconf ifc; 719 ifc.ifc_len = bufsiz; 720 ifc.ifc_buf = buf; 727 if (emul_ioctl(&ifc) >= 0) 730 if ((n = ioctl(s, SIOCGIFCONF, (char *)&ifc)) != -1) { 735 * ifc.ifc_len is too near to the end of the 739 if (ifc.ifc_len + 2 * sizeof(u.ifreq) < bufsiz) 756 cplim = buf + ifc.ifc_len; /* skip over if's with big ifr_addr's */
|
/macosx-10.10.1/remote_cmds-47/ypbind.tproj/ |
H A D | ypbind.c | 892 struct ifconf ifc; local 913 ifc.ifc_len = sizeof inbuf; 914 ifc.ifc_buf = inbuf; 915 if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) 926 while (offset <= ifc.ifc_len) 928 ifr = (struct ifreq *)(ifc.ifc_buf + offset);
|