Lines Matching refs:ecode
511 int has_options = 0, ecode; in tftp_wrq() local
529 ecode = validate_access(peer, &filename, WRQ); in tftp_wrq()
530 if (ecode == 0) { in tftp_wrq()
538 filename, errtomsg(ecode)); in tftp_wrq()
552 int has_options = 0, ecode; in tftp_rrq() local
570 ecode = validate_access(peer, &filename, RRQ); in tftp_rrq()
571 if (ecode == 0) { in tftp_rrq()
598 filename, errtomsg(ecode)); in tftp_rrq()
600 if (ecode) { in tftp_rrq()
605 if (suppress_naks && *filename != '/' && ecode == ENOTFOUND) in tftp_rrq()
607 send_error(peer, ecode); in tftp_rrq()