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

/netbsd-current/include/arpa/
H A Dtftp.h49 #define RRQ 01 /* read request */ macro
/netbsd-current/sys/lib/libsa/
H A Dtftp.h69 #define RRQ 01 /* read request */ macro
H A Dtftp.c165 wbuf.t.th_opcode = htons((u_short)RRQ);
/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-tftp.c45 #define RRQ 01 /* read request */ macro
67 { RRQ, "RRQ" }, /* read request */
121 case RRQ:
135 /* Print the mode - RRQ and WRQ only */
/netbsd-current/libexec/tftpd/
H A Dtftpd.c442 if (tp->th_opcode == RRQ || tp->th_opcode == WRQ)
579 * or replying with the actual filesize (RRQ).
729 * Avoid storms of naks to a RRQ broadcast for a relative
812 if (mode == RRQ) {
842 if (mode == RRQ && !(stbuf.st_mode & S_IROTH))
856 if (mode == RRQ) {
892 if (tftp_opt_tsize && mode == RRQ)
895 fd = open(filename, mode == RRQ ? O_RDONLY : O_WRONLY | trunc | create,
899 file = fdopen(fd, (mode == RRQ)? "r":"w");
926 case RRQ
[all...]
/netbsd-current/sys/kern/
H A Dsubr_tftproot.c76 #define RRQ 01 /* read request */ macro
261 tftp->th_opcode = htons((short)RRQ);
/netbsd-current/usr.bin/tftp/
H A Dtftp.c403 size = makerequest(RRQ, name, ap, mode, (off_t)0);
636 { "#0", "RRQ", "WRQ", "DATA", "ACK", "ERROR", "OACK" };
642 if (op < RRQ || op > OACK)
648 case RRQ:
/netbsd-current/dist/pf/libexec/tftp-proxy/
H A Dtftp-proxy.c232 if (!(ntohs(tp->th_opcode) == RRQ || ntohs(tp->th_opcode) == WRQ)) {
369 (void)snprintf(str, sizeof(str), "RRQ");

Completed in 316 milliseconds