Searched refs:getifaddrs (Results 1 - 25 of 60) sorted by relevance

123

/freebsd-12-stable/include/
H A Difaddrs.h61 extern int getifaddrs(struct ifaddrs **);
/freebsd-12-stable/lib/libc/net/
H A Dif_indextoname.c74 if (getifaddrs(&ifaddrs) < 0)
75 return(NULL); /* getifaddrs properly set errno */
H A Dif_nameindex.c90 if (getifaddrs(&ifaddrs) < 0)
H A Dif_nametoindex.c84 if (getifaddrs(&ifaddrs) < 0)
H A DMakefile.inc11 getifaddrs.c getifmaddrs.c getnameinfo.c \
42 getifaddrs.3 getifmaddrs.3 getipnodebyname.3 \
65 MLINKS+=getifaddrs.3 freeifaddrs.3
H A Dgetifaddrs.c1 /* $KAME: getifaddrs.c,v 1.9 2001/08/20 02:31:20 itojun Exp $ */
27 * BSDI getifaddrs.c,v 2.12 2000/02/23 14:51:59 dab Exp
80 getifaddrs(struct ifaddrs **pif) function
H A Dsourcefilter.c92 if (getifaddrs(&ifaddrs) < 0)
/freebsd-12-stable/lib/libifconfig/
H A Dlibifconfig_internal.c48 ret = getifaddrs(&h->ifap);
/freebsd-12-stable/contrib/smbfs/lib/smb/
H A Dnb_net.c109 if (getifaddrs(&ifp) < 0)
/freebsd-12-stable/contrib/libpcap/
H A Dfad-getad.c167 * of "getifaddrs()" now, or in the future, will return
170 if (getifaddrs(&ifap) != 0) {
172 errno, "getifaddrs");
/freebsd-12-stable/usr.sbin/rtsold/
H A Dcap_llflags.c76 if (getifaddrs(&ifap) != 0) {
/freebsd-12-stable/usr.sbin/wake/
H A Dwake.c118 if (getifaddrs(&ifap) != 0)
/freebsd-12-stable/usr.sbin/rpcbind/
H A Dutil.c170 if (getifaddrs(&ifp) < 0)
364 if (getifaddrs(&ifp) < 0)
/freebsd-12-stable/contrib/amd/libamu/
H A Dwire.c391 if (getifaddrs(&ifaddrs) < 0)
396 if (getifaddrs(&ifaddrs, &count) < 0)
/freebsd-12-stable/usr.bin/netstat/
H A Dif.c282 if (getifaddrs(&ifap) != 0)
283 err(EX_OSERR, "getifaddrs");
524 if (getifaddrs(&ifap) != 0)
525 xo_err(EX_OSERR, "getifaddrs");
/freebsd-12-stable/contrib/ntp/lib/isc/unix/
H A Difiter_getifaddrs.c22 * Obtain the list of network interfaces using the getifaddrs(3) library.
75 * address returned by getifaddrs().
92 if ((ret = getifaddrs(&iter->ifaddrs)) >= 0)
104 "getifaddrs"),
/freebsd-12-stable/contrib/apr/network_io/unix/
H A Dmulticast.c51 * TODO: getifaddrs is only portable to *BSD and OS X. Using ioctl
55 * getifaddrs. The license is acceptable, but, It is a fairly large
58 if (getifaddrs(&ifs) != 0) {
/freebsd-12-stable/crypto/heimdal/lib/krb5/
H A Dget_addrs.c105 if (getifaddrs(&ifa0) == -1) {
107 krb5_set_error_message(context, ret, "getifaddrs: %s", strerror(ret));
/freebsd-12-stable/crypto/heimdal/lib/roken/
H A DMakefile.am28 getifaddrs-test \
/freebsd-12-stable/usr.sbin/mld6query/
H A Dmld6.c230 getifaddrs(&ifa);
/freebsd-12-stable/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c581 status = getifaddrs(&ifaddrs_ptr);
613 status = getifaddrs(&ifaddrs_ptr);
838 if (getifaddrs(&ifap)) {
839 strlcpy(buffer, "getifaddrs failed\n", buffer_length);
/freebsd-12-stable/contrib/blacklist/bin/
H A Dblacklistd.c288 if (getifaddrs(&nifas) == -1)
/freebsd-12-stable/tests/sys/netinet/
H A Dip_reass_test.c149 error = getifaddrs(&ifap);
/freebsd-12-stable/sbin/dhclient/
H A Ddispatch.c71 * Use getifaddrs() to get a list of all the attached interfaces. For
82 if (getifaddrs(&ifap) != 0)
83 error("getifaddrs failed");
102 * The implementation of getifaddrs should guarantee
/freebsd-12-stable/sbin/dumpon/
H A Ddumpon.c113 if (getifaddrs(&ifap) != 0)
114 err(EX_OSERR, "getifaddrs");

Completed in 210 milliseconds

123