Searched refs:BIOCSETIF (Results 1 - 20 of 20) sorted by relevance

/openbsd-current/usr.sbin/hostapd/
H A Dllc.c57 if (ioctl(iapp->i_raw, BIOCSETIF, &ifr) == -1)
H A Dapme.c439 if (ioctl(apme->a_raw, BIOCSETIF, &ifr) == -1)
/openbsd-current/sbin/dhcpleased/
H A Dbpf.c177 if (ioctl(bpffd, BIOCSETIF, &ifr) == -1) {
178 log_warn("BIOCSETIF"); /* interface might have disappeared */
/openbsd-current/usr.sbin/mopd/common/
H A Dpf.c110 if (ioctl(fd, BIOCSETIF, &ifr) < 0) {
111 syslog(LOG_ERR,"pfInit: BIOCSETIF: %m");
/openbsd-current/usr.sbin/dhcpd/
H A Dbpf.c84 if (ioctl(sock, BIOCSETIF, info->ifp) == -1)
/openbsd-current/usr.sbin/rbootd/
H A Dbpf.c97 if (ioctl(BpfFd, BIOCSETIF, (caddr_t)&ifr) == -1) {
98 syslog(LOG_ERR, "bpf: ioctl(BIOCSETIF,%s): %m", IntfName);
/openbsd-current/sys/net/
H A Dbpf.h104 #define BIOCSETIF _IOW('B',108, struct ifreq) macro
H A Dbpf.c768 * BIOCSETIF Set interface.
955 case BIOCSETIF:
/openbsd-current/usr.sbin/dhcrelay/
H A Dbpf.c79 if (ioctl(sock, BIOCSETIF, &info->ifr) == -1)
/openbsd-current/sbin/dhclient/
H A Dbpf.c79 if (ioctl(sock, BIOCSETIF, &ifr) == -1)
80 fatal("BIOCSETIF");
/openbsd-current/usr.sbin/dhcrelay6/
H A Dbpf.c82 if (ioctl(sock, BIOCSETIF, &info->ifr) == -1)
/openbsd-current/usr.sbin/tcpdump/
H A Dprivsep_pcap.c192 if (ioctl(fd, BIOCSETIF, &ifr) == -1)
/openbsd-current/libexec/spamlogd/
H A Dspamlogd.c146 if (ioctl(fd, BIOCSETIF, &ifr) == -1) {
147 snprintf(ebuf, PCAP_ERRBUF_SIZE, "BIOCSETIF: %s",
/openbsd-current/usr.sbin/rarpd/
H A Drarpd.c260 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) == -1) {
265 error("BIOCSETIF: %s", strerror(errno));
/openbsd-current/lib/libpcap/
H A Dpcap-bpf.c382 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCSETIF failed: %s",
399 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCSETIF: %s: %s",
470 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) == -1) {
/openbsd-current/usr.sbin/arp/
H A Darp.c864 if (ioctl(bpf, BIOCSETIF, &ifr) == -1)
/openbsd-current/sbin/pflogd/
H A Dpflogd.c236 if (ioctl(fd, BIOCSETIF, &ifr) == -1) {
237 snprintf(ebuf, PCAP_ERRBUF_SIZE, "BIOCSETIF: %s",
/openbsd-current/usr.sbin/npppd/pppoe/
H A Dpppoed.c298 if (ioctl(_this->bpf, BIOCSETIF, &ifreq) != 0) {
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_interceptors_ioctl_netbsd.inc675 _(BIOCSETIF, READ, struct_ifreq_sz);
H A Dsanitizer_platform_limits_netbsd.cpp1788 unsigned IOCTL_BIOCSETIF = BIOCSETIF;

Completed in 257 milliseconds