Lines Matching defs:to
51 static bool s_flag = false; /* Pass -s to tftpd */
52 static bool w_flag = false; /* Pass -w to tftpd */
100 * @param blocknum Expected block number to be received
101 * @param contents Pointer to expected contents
102 * @param contents_len Length of contents expected to receive
117 * send a command to tftpd.
118 * @param cmd Command to send, as a char array
144 * send a command to tftpd.
145 * @param cmd Command to send, as a const string
174 * send a read request to tftpd.
188 * send a write request to tftpd.
317 * @param to Will be filled in for use with sendto
319 * @return Socket ready to use
322 setup(struct sockaddr_storage *to, uint16_t idx)
402 bzero(to, sizeof(*to));
404 struct sockaddr_in *to4 = (struct sockaddr_in *)to;
411 struct sockaddr_in6 *to6 = (struct sockaddr_in6 *)to;
475 * Attempt to read a file outside of the allowed directory(ies)
491 * With "-s", tftpd should chroot to the specified directory
592 * Attempt to read a file without read permissions
705 * Attempt to read a file whose name exceeds PATH_MAX
805 * Try to transfer a file with an unknown mode.
833 * Invoke tftpd with "-w" and write to a nonexistent file.
965 * Attempt to write a file without write permissions
980 * Attempt to write a file without world write permissions, but with world
1097 * Attempt to write to a nonexistent file. With the default options, this