Home
last modified time | relevance | path

Searched refs:TFTP_MAXERRSTRSIZE (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/apps/tftp/include/
Dtftpc.h154 #define TFTP_MAXERRSTRSIZE 100 /* max size of error message string */ macro
179 u8_t ucErrMesg[TFTP_MAXERRSTRSIZE]; /* error message */
/kernel/liteos_a/apps/tftp/src/
Dtftpc.c258 pstRecvBuf->u.stTFTP_Err.ucErrMesg[TFTP_MAXERRSTRSIZE - 1] = '\0'; in lwip_tftp_recv_from_server()
486 if (strncpy_s((char *)(pstSendBuf->u.stTFTP_Err.ucErrMesg), TFTP_MAXERRSTRSIZE, in lwip_tftp_send_error()
487 (char *)szErrMsg, (TFTP_MAXERRSTRSIZE - 1)) != EOK) { in lwip_tftp_send_error()
491 pstSendBuf->u.stTFTP_Err.ucErrMesg[(TFTP_MAXERRSTRSIZE - 1)] = '\0'; in lwip_tftp_send_error()