Searched refs:tftpfd (Results 1 – 4 of 4) sorted by relevance
/external/dnsmasq/src/ |
D | network.c | 323 l->tftpfd = -1; in create_ipv6_listener() 338 int tcpfd = -1, fd = -1, tftpfd = -1; in create_wildcard_listeners() local 378 if ((tftpfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) in create_wildcard_listeners() 381 if (!fix_fd(tftpfd) || in create_wildcard_listeners() 383 setsockopt(tftpfd, SOL_IP, IP_PKTINFO, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 385 setsockopt(tftpfd, IPPROTO_IP, IP_RECVDSTADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 386 setsockopt(tftpfd, IPPROTO_IP, IP_RECVIF, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 388 bind(tftpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1) in create_wildcard_listeners() 397 l->tftpfd = tftpfd; in create_wildcard_listeners() 428 new->tftpfd = -1; in create_bound_listener() [all …]
|
D | tftp.c | 83 if ((len = recvmsg(listen->tftpfd, &msg, 0)) < 2) in tftp_request() 123 if (!indextoname(listen->tftpfd, if_index, name) || in tftp_request() 134 if (ioctl(listen->tftpfd, SIOCGIFMTU, &ifr) != -1) in tftp_request()
|
D | dnsmasq.c | 1093 if (tftp <= daemon->tftp_max && listener->tftpfd != -1) in set_dns_listeners() 1095 FD_SET(listener->tftpfd, set); in set_dns_listeners() 1096 bump_maxfd(listener->tftpfd, maxfdp); in set_dns_listeners() 1127 if (listener->tftpfd != -1 && FD_ISSET(listener->tftpfd, set)) in check_dns_listeners()
|
D | dnsmasq.h | 351 int fd, tcpfd, tftpfd, family; member
|