Searched defs:if_fd (Results 1 - 1 of 1) sorted by relevance

/external/libpcap/
H A Dpcap-enet.c48 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) argument
66 if ((cc = read(if_fd, (char *)buf.p, sizeof(buf))) < 0)
67 efReadError(if_fd, "reader");
100 wrapup(if_fd);
153 int if_fd; local
156 GETENETDEVICE(0, O_RDONLY, &if_fd);
158 if_fd = open("/dev/enet", O_RDONLY, 0);
161 if (if_fd == -1) {
170 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) {
186 if (ioctl(if_fd, EIOCSET
[all...]

Completed in 170 milliseconds