Searched refs:RRQ (Results 1 - 8 of 8) sorted by relevance

/freebsd-12-stable/include/arpa/
H A Dtftp.h48 #define RRQ 01 /* read request */ macro
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-tftp.c42 #define RRQ 01 /* read request */ macro
65 { RRQ, "RRQ" }, /* read request */
116 case RRQ:
130 /* Print the mode - RRQ and WRQ only */
/freebsd-12-stable/libexec/tftpd/
H A Dtftpd.c422 if (tp->th_opcode == RRQ) {
563 * RRQ - send a file to the client
587 ecode = validate_access(peer, &filename, RRQ);
619 * Avoid storms of naks to a RRQ broadcast for a relative
726 if (mode == RRQ) {
756 if (mode == RRQ) {
768 else if (mode == RRQ)
780 if (mode == RRQ)
798 file = fdopen(fd, (mode == RRQ)? "r":"w");
H A Dtftp-utils.c167 { RRQ, "RRQ" },
H A Dtftp-options.c92 if (mode == RRQ)
H A Dtftp-io.c225 * Send an RRQ packet (write request).
237 tftp_log(LOG_DEBUG, "Sending RRQ: filename: '%s', mode '%s'",
244 tp->th_opcode = htons((u_short)RRQ);
/freebsd-12-stable/contrib/pf/tftp-proxy/
H A Dtftp-proxy.c205 if (!(ntohs(tp->th_opcode) == RRQ || ntohs(tp->th_opcode) == WRQ)) {
342 (void)snprintf(str, sizeof(str), "RRQ");
/freebsd-12-stable/stand/libsa/
H A Dtftp.c316 wbuf.t.th_opcode = htons((u_short)RRQ);

Completed in 110 milliseconds