Searched refs:tftpfd (Results 1 - 4 of 4) sorted by relevance
/external/dnsmasq/src/ |
H A D | network.c | 310 l->tftpfd = -1; 324 int tcpfd = -1, fd = -1, tftpfd = -1; local 364 if ((tftpfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) 367 if (!fix_fd(tftpfd) || 369 setsockopt(tftpfd, SOL_IP, IP_PKTINFO, &opt, sizeof(opt)) == -1 || 371 setsockopt(tftpfd, IPPROTO_IP, IP_RECVDSTADDR, &opt, sizeof(opt)) == -1 || 372 setsockopt(tftpfd, IPPROTO_IP, IP_RECVIF, &opt, sizeof(opt)) == -1 || 374 bind(tftpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1) 383 l->tftpfd = tftpfd; [all...] |
H A D | dnsmasq.c | 1093 if (tftp <= daemon->tftp_max && listener->tftpfd != -1) 1095 FD_SET(listener->tftpfd, set); 1096 bump_maxfd(listener->tftpfd, maxfdp); 1127 if (listener->tftpfd != -1 && FD_ISSET(listener->tftpfd, set))
|
H A D | tftp.c | 83 if ((len = recvmsg(listen->tftpfd, &msg, 0)) < 2) 123 if (!indextoname(listen->tftpfd, if_index, name) || 134 if (ioctl(listen->tftpfd, SIOCGIFMTU, &ifr) != -1)
|
H A D | dnsmasq.h | 351 int fd, tcpfd, tftpfd, family; member in struct:listener
|
Completed in 154 milliseconds