Searched refs:SIOCGIFCONF (Results 1 - 15 of 15) sorted by relevance

/freebsd-10-stable/contrib/netbsd-tests/net/if/
H A Difconf.c63 r = ioctl(fd, SIOCGIFCONF, &ifc);
102 r = ioctl(fd, SIOCGIFCONF, &ifc);
/freebsd-10-stable/libexec/bootpd/
H A Dgetif.c65 ioc.ic_cmd = SIOCGIFCONF;
75 m = ioctl(s, SIOCGIFCONF, (caddr_t) & ifconf);
78 report(LOG_ERR, "ioctl SIOCGIFCONF");
H A Dgetether.c142 if (ioctl(fd, SIOCGIFCONF, (char *) &ifc) < 0 ||
144 report(LOG_ERR, "getether: SIOCGIFCONF: %s", get_errmsg());
/freebsd-10-stable/contrib/traceroute/
H A Difaddrlist.c93 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 ||
97 "SIOCGIFCONF: ifreq struct too small (%zu bytes)",
100 (void)sprintf(errbuf, "SIOCGIFCONF: %s",
/freebsd-10-stable/sys/sys/
H A Dsockio.h64 #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) /* get ifnet list */ macro
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dgetifaddrs.c75 * Linux does not return v6 addresses from SIOCGIFCONF.
866 * The generic SIOCGIFCONF version.
1192 * SIOCGIFCONF has to be used for IPv4 addresses. The result is then
1206 v4err = getifaddrs2 (&v4addrs, AF_INET, SIOCGIFCONF, SIOCGIFFLAGS,
1227 #if defined(HAVE_IPV6) && defined(SIOCGIFCONF)
1229 ret = getifaddrs2 (ifap, AF_INET6, SIOCGIFCONF, SIOCGIFFLAGS,
1232 #if defined(AF_INET) && defined(SIOCGIFCONF) && defined(SIOCGIFFLAGS)
1234 ret = getifaddrs2 (ifap, AF_INET, SIOCGIFCONF, SIOCGIFFLAGS,
1302 getifaddrs2(&a, AF_INET, SIOCGIFCONF, SIOCGIFFLAGS, sizeof(struct ifreq));
/freebsd-10-stable/contrib/libpcap/
H A Dfad-gifc.c93 * SIOCGLIFCONF, but has SIOCGIFCONF, uses "struct sockaddr" for the
94 * address in an entry returned by SIOCGIFCONF.
108 * the data that SIOCGIFCONF could return, and if a buffer is supplied
109 * that's not large enough for all the data SIOCGIFCONF could return,
131 * This is the implementation used on platforms that have SIOCGIFCONF but
187 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0
190 "SIOCGIFCONF: %s", pcap_strerror(errno));
/freebsd-10-stable/libexec/rbootd/
H A Dbpf.c243 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 ||
245 (void) strcpy(errbuf, "bpf: ioctl(SIOCGIFCONF): %m");
/freebsd-10-stable/contrib/amd/libamu/
H A Dwire.c488 if (ioctl(fd, SIOCGIFCONF, (caddr_t) & ifc) < 0)
/freebsd-10-stable/usr.sbin/timed/timed/
H A Dtimed.c270 if (ioctl(sock, SIOCGIFCONF, (char *)&ifc) < 0)
/freebsd-10-stable/usr.sbin/arp/
H A Darp.c811 if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) {
812 warnx("ioctl(SIOCGIFCONF)");
/freebsd-10-stable/contrib/ntp/lib/isc/unix/
H A Difiter_ioctl.c64 SIOCGIFCONF data */
150 if (isc_ioctl(iter->socket, SIOCGIFCONF, (char *)&iter->ifc)
/freebsd-10-stable/sys/net/
H A Dif.c2716 case SIOCGIFCONF:
2732 error = ifconf(SIOCGIFCONF, (void *)&ifc);
/freebsd-10-stable/contrib/sendmail/src/
H A Dconf.c4740 #if defined(SIOCGIFCONF) && !SIOCGIFCONF_IS_BROKEN
4750 #endif /* defined(SIOCGIFCONF) && !SIOCGIFCONF_IS_BROKEN */
4997 # if defined(SIOCGIFCONF) && !SIOCGIFCONF_IS_BROKEN
5030 if (ioctl(s, SIOCGIFCONF, (char *)&ifc) < 0)
5033 sm_dprintf("SIOCGIFCONF failed: %s\n",
5184 # endif /* defined(SIOCGIFCONF) && !SIOCGIFCONF_IS_BROKEN */
/freebsd-10-stable/contrib/ntp/ntpd/
H A Dntp_io.c4264 #if !defined(MPE) && (defined(SIOCGIFCONF) || defined(SYS_WINNT))
4342 #endif /* SIOCGIFCONF */

Completed in 168 milliseconds