HomeSort by relevance Sort by last modified time
    Searched refs:tftpfd (Results 1 - 4 of 4) sorted by null

  /external/dnsmasq/src/
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...]
dnsmasq.c 1072 if (tftp <= daemon->tftp_max && listener->tftpfd != -1)
1074 FD_SET(listener->tftpfd, set);
1075 bump_maxfd(listener->tftpfd, maxfdp);
1106 if (listener->tftpfd != -1 && FD_ISSET(listener->tftpfd, set))
    [all...]
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)
dnsmasq.h 349 int fd, tcpfd, tftpfd, family; member in struct:listener

Completed in 20 milliseconds