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

123

/openbsd-current/lib/libc/hidden/
H A Difaddrs.h23 PROTO_NORMAL(getifaddrs); variable
/openbsd-current/include/
H A Difaddrs.h52 extern int getifaddrs(struct ifaddrs **);
/openbsd-current/sbin/isakmpd/
H A Dif.c51 if (getifaddrs(&ifap) == -1)
H A Dutil.c290 if (getifaddrs(&ifap) != 0)
/openbsd-current/lib/libc/rpc/
H A Dget_myaddress.c64 if (getifaddrs(&ifap) != 0)
H A Dpmap_rmt.c162 if (getifaddrs(&ifap) != 0)
/openbsd-current/lib/libc/net/
H A DMakefile.inc10 getifaddrs.c getnameinfo.c getnetent.c \
27 getifaddrs.3 getnameinfo.3 getnetent.3 getpeereid.3 getprotoent.3 \
H A Dgetifaddrs.c1 /* $OpenBSD: getifaddrs.c,v 1.14 2021/11/29 03:20:37 deraadt Exp $ */
25 * BSDI getifaddrs.c,v 2.12 2000/02/23 14:51:59 dab Exp
48 getifaddrs(struct ifaddrs **pif) function
291 DEF_WEAK(getifaddrs); variable
/openbsd-current/usr.sbin/amd/amd/
H A Dwire.c48 * Modified to use getifaddrs() by Todd C. Miller (6/14/2003)
78 if (getifaddrs(&ifaddrs))
/openbsd-current/usr.sbin/mopd/common/
H A Ddevice.c46 if (getifaddrs(&ifap) != 0) {
47 syslog(LOG_ERR, "deviceEthAddr: getifaddrs: %m");
223 if (getifaddrs(&ifap) != 0) {
224 syslog(LOG_ERR, "deviceInitAll: getifaddrs: %m");
242 if (getifaddrs(&ifap) != 0) {
243 syslog(LOG_ERR, "deviceInitAll: getifaddrs: %m");
/openbsd-current/usr.sbin/mrouted/
H A Dconfig.c30 if (getifaddrs(&ifap) == -1)
31 logit(LOG_ERR, errno, "getifaddrs");
H A Dcfparse.y554 if (getifaddrs(&ifap) != 0)
/openbsd-current/usr.sbin/ldapd/
H A Duuid.c93 if (getifaddrs(&ifa0) != 0)
/openbsd-current/usr.sbin/npppd/common/
H A Dnet_utils.c50 getifaddrs(&addr0);
/openbsd-current/usr.sbin/ntpd/
H A Dserver.c47 if (getifaddrs(&ifa) == -1)
48 fatal("getifaddrs");
/openbsd-current/usr.sbin/rbootd/
H A Dbpf.c263 if (getifaddrs(&ifap) != 0) {
264 (void) strlcpy(errbuf, "bpf: getifaddrs: %m", sizeof(errbuf));
/openbsd-current/lib/libpcap/
H A Dfad-getad.c400 * This is the implementation used on platforms that have "getifaddrs()".
422 * of "getifaddrs()" now, or in the future, will return
425 if (getifaddrs(&ifap) != 0) {
427 "getifaddrs: %s", pcap_strerror(errno));
H A Dinet.c120 if (getifaddrs(&ifap) != 0) {
122 "getifaddrs: %s", pcap_strerror(errno));
/openbsd-current/usr.sbin/rarpd/
H A Drarpd.c198 if (getifaddrs(&ifap) != 0)
199 error("getifaddrs: %s", strerror(errno));
512 if (getifaddrs(&ifap) != 0)
513 error("getifaddrs: %s", strerror(errno));
/openbsd-current/usr.bin/systat/
H A Dmbufs.c229 if (getifaddrs(&ifap)) {
230 error("getifaddrs: %s", strerror(errno));
/openbsd-current/usr.sbin/lpr/common_source/
H A Dcommon.c338 if (getifaddrs(&ifap) < 0) {
/openbsd-current/libexec/rpc.rstatd/
H A Drstat_proc.c245 if (getifaddrs(&ifaddrs) == -1) {
246 syslog(LOG_ERR, "can't getifaddrs: %m");
/openbsd-current/usr.sbin/smtpd/
H A Dconfig.c180 if (getifaddrs(&ifap) == -1)
181 fatal("getifaddrs");
/openbsd-current/usr.sbin/dhcrelay/
H A Ddispatch.c112 if (getifaddrs(&ifap))
113 fatalx("getifaddrs failed");
/openbsd-current/usr.sbin/dhcrelay6/
H A Ddispatch.c141 if (getifaddrs(&ifap))
142 fatalx("getifaddrs failed");

Completed in 151 milliseconds

123