Searched refs:if_fd (Results 1 - 4 of 4) sorted by relevance
/freebsd-13-stable/contrib/libpcap/ |
H A D | pcap-enet.c | 48 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...] |
/freebsd-13-stable/contrib/ipfilter/iplang/ |
H A D | iplang.h | 14 int if_fd; member in struct:iface
|
H A D | iplang_y.y | 1253 if (ifp->if_fd == -1) 1254 ifp->if_fd = initdevice(ifp->if_name, 5); 1264 (void) send_ip(ifp->if_fd, ifp->if_MTU, (ip_t *)ipbuffer, gwip, 2); 1329 cifp->if_fd = -1;
|
/freebsd-13-stable/contrib/telnet/telnetd/ |
H A D | telnetd.c | 740 int if_fd = -1; local 911 if_fd = open(IF, O_RDONLY, 000); 923 if (if_fd != -1) { 924 if (fstat(if_fd, &statbuf) != -1 && statbuf.st_size > 0) { 926 PROT_READ, 0, if_fd, 0); 932 close (if_fd);
|
Completed in 171 milliseconds