Searched refs:getether (Results 1 - 6 of 6) sorted by relevance

/freebsd-12-stable/libexec/bootpd/
H A Dgetether.h0 /* getether.h */
4 extern int getether(char *ifname, char *eaptr);
H A Dtrygetea.c2 * trygetea.c - test program for getether.c
26 #include "getether.h"
45 if ((i = getether(argv[1], (char*)ea)) < 0) {
H A Dgetether.c2 * getether.c : get the ethernet address of an interface
25 #include "getether.h"
42 getether(ifname, eap) function
51 report(LOG_ERR, "getether: socket(INET,DGRAM) failed");
55 report(LOG_ERR, "getether: ioctl SIOCRPHYSADDR failed");
76 getether(ifname, eap)
90 report(LOG_ERR, "getether: open /dev/nit: %s",
96 report(LOG_ERR, "getether: NIOCBIND on nit");
100 report(LOG_ERR, "getether: SIOCGIFADDR on nit");
124 getether(ifnam
75 getether(ifname, eap) function
122 getether(ifname, eap) function
188 getether(ifname, eap) function
341 getether(ifname, eap) function
371 getether(ifname, eap) function
[all...]
H A DMakefile.UNIX156 OBJ_TEST= bootptest.o print-bootp.o getif.o getether.o \
171 # This is just for testing getether.
172 TRYGETEA= trygetea.o getether.o report.o $(STRERROR)
/freebsd-12-stable/libexec/bootpd/tools/bootptest/
H A DMakefile6 SRCS= bootptest.c getether.c getif.c print-bootp.c report.c
H A Dbootptest.c70 #include "getether.h"
323 if (getether(ifr->ifr_name, (char*)eaddr)) {

Completed in 58 milliseconds