Searched refs:pcCp (Results 1 – 1 of 1) sorted by relevance
137 s8_t *pcCp = NULL; in lwip_tftp_make_tftp_packet() local140 pcCp = pstPacket->u.ucName_Mode; in lwip_tftp_make_tftp_packet()145 …(void)strncpy_s((char *)pcCp, TFTP_MAX_PATH_LENGTH, (char *)szFileName, (TFTP_MAX_PATH_LENGTH - 1)… in lwip_tftp_make_tftp_packet()146 pcCp[(TFTP_MAX_PATH_LENGTH - 1)] = '\0'; in lwip_tftp_make_tftp_packet()148 pcCp += (strlen((char *)szFileName) + 1); in lwip_tftp_make_tftp_packet()150 (void)strncpy_s((char *)pcCp, TFTP_MAX_MODE_SIZE, "octet", (TFTP_MAX_MODE_SIZE - 1)); in lwip_tftp_make_tftp_packet()151 pcCp[(TFTP_MAX_MODE_SIZE - 1)] = '\0'; in lwip_tftp_make_tftp_packet()153 (void)strncpy_s((char *)pcCp, TFTP_MAX_MODE_SIZE, "netascii", (TFTP_MAX_MODE_SIZE - 1)); in lwip_tftp_make_tftp_packet()154 pcCp[(TFTP_MAX_MODE_SIZE - 1)] = '\0'; in lwip_tftp_make_tftp_packet()157 pcCp += (strlen((char *)pcCp) + 1); in lwip_tftp_make_tftp_packet()[all …]