Lines Matching refs:ecode
502 int has_options = 0, ecode; in tftp_wrq() local
520 ecode = validate_access(peer, &filename, WRQ); in tftp_wrq()
521 if (ecode == 0) { in tftp_wrq()
529 filename, errtomsg(ecode)); in tftp_wrq()
532 if (ecode) { in tftp_wrq()
533 send_error(peer, ecode); in tftp_wrq()
547 int has_options = 0, ecode; in tftp_rrq() local
565 ecode = validate_access(peer, &filename, RRQ); in tftp_rrq()
566 if (ecode == 0) { in tftp_rrq()
593 filename, errtomsg(ecode)); in tftp_rrq()
595 if (ecode) { in tftp_rrq()
600 if (suppress_naks && *filename != '/' && ecode == ENOTFOUND) in tftp_rrq()
602 send_error(peer, ecode); in tftp_rrq()