40#define LOSCFG_NET_LWIP_SACK_TFTP 1
41#define LOSCFG_SHELL_CMD_DEBUG 1
50#define X8_F "02" PRIx8
59#define PRINTK(fmt, ...) printf(fmt, ##__VA_ARGS__)
60#define LWIP_ASSERT(msg, expr) assert(expr)
61#define LWIP_DEBUGF(module, msg) PRINTK msg
68#define mem_malloc malloc
70#define lwip_socket socket
71#define lwip_ioctl ioctl
72#define lwip_close close
74#define lwip_sendto sendto
75#define lwip_recvfrom recvfrom
77#define IPADDR_NONE INADDR_NONE
78#define DEFFILEMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
80#define SHELLCMD_ENTRY(l, cmdType, cmdKey, paraNum, cmdHook) \
81int main(int argc, const char **argv) \
83 return (int)cmdHook(argc, argv); \
u32_t(* CmdCallBackFunc)(u32_t argc, const char **argv)