Home | History | Annotate | Download | only in libpcap

Lines Matching full:ioctl

17 #include <sys/ioctl.h>
128 if (ioctl(fd, EIOSTATS, &es) == -1) {
129 perror("tcpdump: enet ioctl EIOSTATS error");
170 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) {
171 perror("tcpdump: enet ioctl EIOCGETP error");
186 if (ioctl(if_fd, EIOCSETP, &ctl) == -1) {
187 perror("tcpdump: enet ioctl EIOCSETP error");
195 if (ioctl(if_fd, EIOCFLUSH) == -1) {
196 perror("tcpdump: enet ioctl EIOCFLUSH error");
203 if (ioctl(if_fd, EIOCSETW, &maxwaiting) == -1) {
204 perror("tcpdump: enet ioctl EIOCSETW error");
211 if (ioctl(if_fd, EIOCLRSTAT, 0) == -1) {
212 perror("tcpdump: enet ioctl EIOCLRSTAT error");
221 if (ioctl(if_fd, EIOCSETF, &filter) == -1) {
222 perror("tcpdump: enet ioctl EIOCSETF error");