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

/freebsd-10.3-release/contrib/libpcap/
H A Dpcap-enet.c52 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) argument
70 if ((cc = read(if_fd, (char *)buf.p, sizeof(buf))) < 0)
71 efReadError(if_fd, "reader");
104 wrapup(if_fd);
157 int if_fd; local
160 GETENETDEVICE(0, O_RDONLY, &if_fd);
162 if_fd = open("/dev/enet", O_RDONLY, 0);
165 if (if_fd == -1) {
174 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) {
190 if (ioctl(if_fd, EIOCSET
[all...]
/freebsd-10.3-release/contrib/ipfilter/iplang/
H A Diplang.h14 int if_fd; member in struct:iface
H A Diplang_y.y1290 if (ifp->if_fd == -1)
1291 ifp->if_fd = initdevice(ifp->if_name, 5);
1301 (void) send_ip(ifp->if_fd, ifp->if_MTU, (ip_t *)ipbuffer, gwip, 2);
1366 cifp->if_fd = -1;

Completed in 99 milliseconds