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

/freebsd-13-stable/contrib/netbsd-tests/net/bpf/
H A Dt_bpf.c87 RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
160 RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
196 RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
/freebsd-13-stable/contrib/ipfilter/ipsend/
H A Dsbpf.c104 if (ioctl(fd, BIOCSETIF, &ifr) == -1)
107 perror("BIOCSETIF");
/freebsd-13-stable/contrib/ipfilter/
H A Dbpf-ipf.h122 #define BIOCSETIF _IOW(B,108, struct ifreq) macro
138 #define BIOCSETIF _IOW('B',108, struct ifreq) macro
/freebsd-13-stable/usr.sbin/wake/
H A Dwake.c96 if (ioctl(bpf, BIOCSETIF, &ifr) == -1)
/freebsd-13-stable/libexec/rbootd/
H A Dbpf.c113 if (ioctl(BpfFd, BIOCSETIF, (caddr_t)&ifr) < 0) {
114 syslog(LOG_ERR, "bpf: ioctl(BIOCSETIF,%s): %m", IntfName);
/freebsd-13-stable/sys/net/
H A Dbpf.h131 #define BIOCSETIF _IOW('B', 108, struct ifreq) macro
H A Dbpf.c1332 * BIOCSETIF Set interface.
1589 case BIOCSETIF:
/freebsd-13-stable/usr.sbin/wpa/wpa_supplicant/
H A DPacket32.c407 ioctl(fd, BIOCSETIF, (caddr_t)&ifr);
/freebsd-13-stable/tools/tools/net80211/w00t/libw00t/
H A Dw00t.c114 if(ioctl(fd, BIOCSETIF, &ifr) < 0)
/freebsd-13-stable/contrib/libpcap/
H A Dpcap-bpf.c624 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) < 0) {
647 errno, "BIOCSETIF: %s", name);
831 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) < 0) {
854 errno, "BIOCSETIF: %s", p->opt.device);
1593 errno, "BIOCSETIF failed");
1610 errno, "BIOCSETIF: %s", p->opt.device);
1998 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) < 0) {
2000 errno, "BIOCSETIF: %s", p->opt.device);
2032 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) < 0)
2065 if (ioctl(fd, BIOCSETIF, (caddr_
[all...]
H A Dconfigure6150 # Does it define BIOCSETIF?
6154 # have a net/bpf.h that doesn't define BIOCSETIF;
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if net/bpf.h defines BIOCSETIF" >&5
6182 $as_echo_n "checking if net/bpf.h defines BIOCSETIF... " >&6; }
6202 u_int i = BIOCSETIF;
/freebsd-13-stable/sbin/dhclient/
H A Dbpf.c89 if (ioctl(sock, BIOCSETIF, info->ifp) < 0)
/freebsd-13-stable/contrib/netbsd-tests/net/bpfilter/
H A Dt_bpfilter.c269 RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
/freebsd-13-stable/tests/sys/netinet/
H A Dip_reass_test.c160 error = ioctl(fd, BIOCSETIF, &ifr);
161 ATF_REQUIRE_MSG(error == 0, "ioctl(BIOCSETIF): %s", strerror(errno));
/freebsd-13-stable/tools/tools/net80211/wlaninject/
H A Dwlaninject.c108 if (ioctl(fd, BIOCSETIF, &ifr) == -1)
109 err(1, "ioctl(BIOCSETIF)");
/freebsd-13-stable/usr.sbin/rarpd/
H A Drarpd.c441 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) == -1) {
442 logmsg(LOG_ERR, "BIOCSETIF: %m");
/freebsd-13-stable/usr.sbin/usbdump/
H A Dusbdump.c974 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) >= 0)
/freebsd-13-stable/tools/tools/net80211/stumbler/
H A Dstumbler.c328 if(ioctl(fd, BIOCSETIF, &ifr) < 0)
329 die(1, "ioctl(BIOCSETIF)");
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_netbsd.cpp1634 unsigned IOCTL_BIOCSETIF = BIOCSETIF;
H A Dsanitizer_interceptors_ioctl_netbsd.inc675 _(BIOCSETIF, READ, struct_ifreq_sz);
/freebsd-13-stable/tools/tools/net80211/wesside/wesside/
H A Dwesside.c449 if(ioctl(fd, BIOCSETIF, &ifr) < 0) {
450 perror("ioctl(BIOCSETIF)");

Completed in 497 milliseconds