Searched refs:BIOCSETIF (Results 1 - 20 of 20) sorted by relevance
/openbsd-current/usr.sbin/hostapd/ |
H A D | llc.c | 57 if (ioctl(iapp->i_raw, BIOCSETIF, &ifr) == -1)
|
H A D | apme.c | 439 if (ioctl(apme->a_raw, BIOCSETIF, &ifr) == -1)
|
/openbsd-current/sbin/dhcpleased/ |
H A D | bpf.c | 177 if (ioctl(bpffd, BIOCSETIF, &ifr) == -1) { 178 log_warn("BIOCSETIF"); /* interface might have disappeared */
|
/openbsd-current/usr.sbin/mopd/common/ |
H A D | pf.c | 110 if (ioctl(fd, BIOCSETIF, &ifr) < 0) { 111 syslog(LOG_ERR,"pfInit: BIOCSETIF: %m");
|
/openbsd-current/usr.sbin/dhcpd/ |
H A D | bpf.c | 84 if (ioctl(sock, BIOCSETIF, info->ifp) == -1)
|
/openbsd-current/usr.sbin/rbootd/ |
H A D | bpf.c | 97 if (ioctl(BpfFd, BIOCSETIF, (caddr_t)&ifr) == -1) { 98 syslog(LOG_ERR, "bpf: ioctl(BIOCSETIF,%s): %m", IntfName);
|
/openbsd-current/sys/net/ |
H A D | bpf.h | 104 #define BIOCSETIF _IOW('B',108, struct ifreq) macro
|
H A D | bpf.c | 768 * BIOCSETIF Set interface. 955 case BIOCSETIF:
|
/openbsd-current/usr.sbin/dhcrelay/ |
H A D | bpf.c | 79 if (ioctl(sock, BIOCSETIF, &info->ifr) == -1)
|
/openbsd-current/sbin/dhclient/ |
H A D | bpf.c | 79 if (ioctl(sock, BIOCSETIF, &ifr) == -1) 80 fatal("BIOCSETIF");
|
/openbsd-current/usr.sbin/dhcrelay6/ |
H A D | bpf.c | 82 if (ioctl(sock, BIOCSETIF, &info->ifr) == -1)
|
/openbsd-current/usr.sbin/tcpdump/ |
H A D | privsep_pcap.c | 192 if (ioctl(fd, BIOCSETIF, &ifr) == -1)
|
/openbsd-current/libexec/spamlogd/ |
H A D | spamlogd.c | 146 if (ioctl(fd, BIOCSETIF, &ifr) == -1) { 147 snprintf(ebuf, PCAP_ERRBUF_SIZE, "BIOCSETIF: %s",
|
/openbsd-current/usr.sbin/rarpd/ |
H A D | rarpd.c | 260 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) == -1) { 265 error("BIOCSETIF: %s", strerror(errno));
|
/openbsd-current/lib/libpcap/ |
H A D | pcap-bpf.c | 382 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 D | arp.c | 864 if (ioctl(bpf, BIOCSETIF, &ifr) == -1)
|
/openbsd-current/sbin/pflogd/ |
H A D | pflogd.c | 236 if (ioctl(fd, BIOCSETIF, &ifr) == -1) { 237 snprintf(ebuf, PCAP_ERRBUF_SIZE, "BIOCSETIF: %s",
|
/openbsd-current/usr.sbin/npppd/pppoe/ |
H A D | pppoed.c | 298 if (ioctl(_this->bpf, BIOCSETIF, &ifreq) != 0) {
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_interceptors_ioctl_netbsd.inc | 675 _(BIOCSETIF, READ, struct_ifreq_sz);
|
H A D | sanitizer_platform_limits_netbsd.cpp | 1788 unsigned IOCTL_BIOCSETIF = BIOCSETIF;
|
Completed in 257 milliseconds