Home
last modified time | relevance | path

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

/kernel/liteos_a/apps/tftp/src/
Dtftpc.c57 static s32_t lwip_tftp_make_tftp_packet(u16_t usOpcode, s8_t *szFileName,
135 static s32_t lwip_tftp_make_tftp_packet(u16_t usOpcode, s8_t *szFileName, u32_t ulMode, TFTPC_PACKE… in lwip_tftp_make_tftp_packet() argument
139 pstPacket->usOpcode = htons(usOpcode); in lwip_tftp_make_tftp_packet()
177 u16_t usOpcode; /* Opcode value */ in lwip_tftp_recv_from_server() local
218 usOpcode = ntohs(pstRecvBuf->usOpcode); in lwip_tftp_recv_from_server()
220 if (usOpcode == TFTPC_OP_ERROR) { in lwip_tftp_recv_from_server()
273 if (((usOpcode == TFTPC_OP_DATA) && in lwip_tftp_recv_from_server()
275 ((usOpcode == TFTPC_OP_ACK) && in lwip_tftp_recv_from_server()
432 if (TFTPC_OP_DATA != ntohs(pstRecvBuf->usOpcode)) { in lwip_tftp_validate_data_pkt()
483 pstSendBuf->usOpcode = htons(usOpCode); in lwip_tftp_send_error()
[all …]
/kernel/liteos_a/apps/tftp/include/
Dtftpc.h185 u16_t usOpcode; /* Opcode value */ member