Searched refs:tftpfd (Results 1 - 12 of 12) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/dnsmasq/src/
H A Dtftp.c97 if ((len = recvmsg(listen->tftpfd, &msg, 0)) < 2)
114 if (getsockname(listen->tftpfd, (struct sockaddr *)&addr, &tcp_len) == -1)
193 if (!indextoname(listen->tftpfd, if_index, namebuff))
222 if (!loopback_exception(listen->tftpfd, listen->family, &addra, name) &&
236 if (ioctl(listen->tftpfd, SIOCGIFMTU, &ifr) != -1)
H A Dnetwork.c668 if (l->tftpfd != -1)
669 close(l->tftpfd);
876 int fd = -1, tcpfd = -1, tftpfd = -1; local
894 tftpfd = make_sock(addr, SOCK_DGRAM, dienow);
902 tftpfd = make_sock(addr, SOCK_DGRAM, dienow);
909 if (fd != -1 || tcpfd != -1 || tftpfd != -1)
916 l->tftpfd = tftpfd;
H A Ddnsmasq.c1495 if (tftp <= daemon->tftp_max && listener->tftpfd != -1)
1496 poll_listen(listener->tftpfd, POLLIN);
1526 if (listener->tftpfd != -1 && poll_check(listener->tftpfd, POLLIN))
H A Ddnsmasq.h531 int fd, tcpfd, tftpfd, family; member in struct:listener
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/dnsmasq/src/
H A Dtftp.c97 if ((len = recvmsg(listen->tftpfd, &msg, 0)) < 2)
114 if (getsockname(listen->tftpfd, (struct sockaddr *)&addr, &tcp_len) == -1)
193 if (!indextoname(listen->tftpfd, if_index, namebuff))
222 if (!loopback_exception(listen->tftpfd, listen->family, &addra, name) &&
236 if (ioctl(listen->tftpfd, SIOCGIFMTU, &ifr) != -1)
H A Dnetwork.c668 if (l->tftpfd != -1)
669 close(l->tftpfd);
876 int fd = -1, tcpfd = -1, tftpfd = -1; local
894 tftpfd = make_sock(addr, SOCK_DGRAM, dienow);
902 tftpfd = make_sock(addr, SOCK_DGRAM, dienow);
909 if (fd != -1 || tcpfd != -1 || tftpfd != -1)
916 l->tftpfd = tftpfd;
H A Ddnsmasq.c1495 if (tftp <= daemon->tftp_max && listener->tftpfd != -1)
1496 poll_listen(listener->tftpfd, POLLIN);
1526 if (listener->tftpfd != -1 && poll_check(listener->tftpfd, POLLIN))
H A Ddnsmasq.h531 int fd, tcpfd, tftpfd, family; member in struct:listener
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/dnsmasq/src/
H A Dtftp.c97 if ((len = recvmsg(listen->tftpfd, &msg, 0)) < 2)
114 if (getsockname(listen->tftpfd, (struct sockaddr *)&addr, &tcp_len) == -1)
193 if (!indextoname(listen->tftpfd, if_index, namebuff))
222 if (!loopback_exception(listen->tftpfd, listen->family, &addra, name) &&
236 if (ioctl(listen->tftpfd, SIOCGIFMTU, &ifr) != -1)
H A Dnetwork.c668 if (l->tftpfd != -1)
669 close(l->tftpfd);
876 int fd = -1, tcpfd = -1, tftpfd = -1; local
894 tftpfd = make_sock(addr, SOCK_DGRAM, dienow);
902 tftpfd = make_sock(addr, SOCK_DGRAM, dienow);
909 if (fd != -1 || tcpfd != -1 || tftpfd != -1)
916 l->tftpfd = tftpfd;
H A Ddnsmasq.c1495 if (tftp <= daemon->tftp_max && listener->tftpfd != -1)
1496 poll_listen(listener->tftpfd, POLLIN);
1526 if (listener->tftpfd != -1 && poll_check(listener->tftpfd, POLLIN))
H A Ddnsmasq.h531 int fd, tcpfd, tftpfd, family; member in struct:listener

Completed in 209 milliseconds