Home
last modified time | relevance | path

Searched refs:u32_t (Results 1 – 20 of 20) sorted by relevance

/kernel/liteos_a/apps/tftp/src/
Dtftpc.c55 static u32_t lwip_tftp_create_bind_socket(s32_t *piSocketID);
58 u32_t ulMode, TFTPC_PACKET_S *pstPacket);
60 static u32_t lwip_tftp_recv_from_server(s32_t iSockNum,
61 u32_t *pulSize,
63 u32_t *pulIgnorePkt,
67 static u32_t lwip_tftp_send_to_server(s32_t iSockNum, u32_t ulSize,
71 static u32_t lwip_tftp_validate_data_pkt(s32_t iSockNum,
72 u32_t *pulSize,
74 u16_t usCurrBlk, u32_t *pulResendPkt,
77 static u32_t lwip_tftp_inner_put_file(s32_t iSockNum, TFTPC_PACKET_S *pstSendBuf,
[all …]
Dmain.c80 u32_t osShellTftp(int argc, const char **argv) in osShellTftp()
82 u32_t ulRemoteAddr = IPADDR_NONE; in osShellTftp()
87 u32_t ret; in osShellTftp()
/kernel/liteos_a/net/lwip-2.1/enhancement/include/lwip/
Dapi_shell.h42 u32_t lwip_ifconfig(int argc, const char **argv);
43 u32_t lwip_arp(int argc, const char **argv);
44 u32_t osShellNetIfUp(int argc, const char **argv);
45 u32_t osShellNetIfDown(int argc, const char **argv);
46 u32_t osShellPing(int argc, const char **argv);
47 u32_t osShellTftp(int argc, const char **argv);
49 u32_t osShellNtpdate(int argc, const char **argv);
52 u32_t osShellDns(int argc, const char **argv);
54 u32_t osShellNetstat(int argc, const char **argv);
/kernel/liteos_a/apps/tftp/include/
Dtftpc.h43 #define TFTP_NULL_UINT32 ((u32_t)0xffffffffUL)
224 u32_t lwip_tftp_get_file_by_filename(u32_t ulHostAddr,
256 u32_t lwip_tftp_put_file_by_filename(u32_t ulHostAddr,
295 u32_t lwip_tftp_get_file_by_filename_to_rawmem(u32_t ulHostAddr,
300 u32_t *ulFileLength);
Dtypes_adapt.h47 #define u32_t uint32_t macro
86 typedef u32_t (*CmdCallBackFunc)(u32_t argc, const char **argv);
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dapi_shell.c146 LWIP_STATIC u32_t netdebug_memp(int argc, const char **argv);
147 LWIP_STATIC u32_t netdebug_sock(int argc, const char **argv);
148 u32_t osShellNetDebug(int argc, const char **argv);
149 u32_t osShellIpDebug(int argc, const char **argv);
158 u32_t pingcount;
165 u32_t flag;
166 u32_t min_rtt;
167 u32_t max_rtt;
170 LWIP_STATIC void update_ping6_stats(ping6_stats_t *ping6_stats, u32_t rtt, u32_t nreceived);
173 u32_t osShellPing6(int argc, const char **argv);
[all …]
Ddhcps.c77 u32_t flags;
78 u32_t leasetime;
79 u32_t proposed_leasetime;
106 LWIP_STATIC void dhcp_common_option_long(struct dhcp_msg *msg_out, u32_t value, u16_t *options_out_…
175 u32_t curr_time = sys_now(); in remove_stale_entries()
179 …((dhcps->leasearr[i].flags != DHCPS_ADDRESS_FREE) && (dhcps->leasearr[i].leasetime != (u32_t)~0)) { in remove_stale_entries()
192 u32_t client_lease_time = (u32_t)(LWIP_DHCPS_LEASE_TIME); in add_client_entry()
199 client_lease_time = (u32_t)dhcps_get_option_value(dhcps, DHCP_OPTION_IDX_LEASE_TIME); in add_client_entry()
221 (htonl(dhcps->start_addr.addr + (u32_t)i) != ip_2_ip4(&dhcps->netif->ip_addr)->addr)) { in find_free_slot()
258 client_ip.addr = (u32_t)dhcps_get_option_value(dhcps, DHCP_OPTION_IDX_REQUESTED_IP); in validate_discover()
[all …]
Dfixme.c368 u32_t is_ip_conflict_signal = 0;
372 u32_t is_dup_detect_initialized = 0;
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Dapi_shell.c220 u32_t lwip_ifconfig(int argc, const char **argv) in lwip_ifconfig()
307 LWIP_STATIC int OsPingFunc(u32_t *parg) in OsPingFunc()
315 u32_t iecho_len; in OsPingFunc()
317 u32_t forever; in OsPingFunc()
318 u32_t i; in OsPingFunc()
319 u32_t succ_cnt = 0; in OsPingFunc()
320 u32_t failed_cnt = 0; in OsPingFunc()
326 u32_t intrvl; in OsPingFunc()
331 u32_t destip = parg[0]; in OsPingFunc()
332 u32_t cnt = parg[1]; in OsPingFunc()
[all …]
Dsys_arch.c47 static u32_t lwprot_thread = LOS_ERRNO_TSK_ID_INVALID;
91 u32_t sys_now(void) in sys_now()
94 return (u32_t)((LOS_TickCountGet() * OS_SYS_MS_PER_SECOND) / in sys_now()
208 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeoutMs) in sys_arch_mbox_fetch()
212 return (u32_t)ERR_ARG; in sys_arch_mbox_fetch()
231 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg) in sys_arch_mbox_tryfetch()
235 return (u32_t)ERR_ARG; in sys_arch_mbox_tryfetch()
312 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeoutMs) in sys_arch_sem_wait()
316 return (u32_t)ERR_ARG; in sys_arch_sem_wait()
Dsockets_porting.c717 switch ((u32_t)cmd) { in lwip_ioctl_impl()
/kernel/liteos_a/net/lwip-2.1/porting/src/
Dsys_arch.c45 static u32_t lwprot_thread = LOS_ERRNO_TSK_ID_INVALID;
85 u32_t sys_now(void) in sys_now()
88 return (u32_t)((LOS_TickCountGet() * OS_SYS_MS_PER_SECOND) / LOSCFG_BASE_CORE_TICK_PER_SECOND); in sys_now()
193 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeoutMs) in sys_arch_mbox_fetch()
211 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg) in sys_arch_mbox_tryfetch()
265 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeoutMs) in sys_arch_sem_wait()
Dsockets.c1329 switch ((u32_t)cmd) { in lwip_ioctl_impl()
/kernel/liteos_m/components/net/lwip-2.1/porting/include/lwip/
Dapi_shell.h42 u32_t lwip_ifconfig(int argc, const char **argv);
43 u32_t OsShellPing(int argc, const char **argv);
44 LWIP_STATIC int OsPingFunc(u32_t *parg);
Dnetif.h49 void (*drv_config)(struct netif *netif, u32_t config_flags, u8_t setBit); \
/kernel/uniproton/src/net/lwip-2.1/src/
Dsys_arch.c79 u32_t sys_now(void) in sys_now()
197 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeoutMs) in sys_arch_mbox_fetch()
201 return (u32_t)ERR_ARG; in sys_arch_mbox_fetch()
220 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg) in sys_arch_mbox_tryfetch()
224 return (u32_t)ERR_ARG; in sys_arch_mbox_tryfetch()
300 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeoutMs) in sys_arch_sem_wait()
304 return (u32_t)ERR_ARG; in sys_arch_sem_wait()
Dsockets.c688 switch ((u32_t)cmd) { in OsLwipIoctlImpl()
/kernel/uniproton/src/net/lwip-2.1/include/lwip/
Dnetif.h33 void (*drv_config)(struct netif *netif, u32_t config_flags, u8_t setBit); \
/kernel/liteos_a/net/lwip-2.1/porting/include/lwip/
Dnetif.h47 void (*drv_config)(struct netif *netif, u32_t config_flags, u8_t setBit); \
/kernel/liteos_m/components/net/test/
Dnet_socket_test_011.c80 u32_t chk_sum = 0; in ReplayUdpEncodeIp()
168 u32_t acc = udpchksum + (u16_t)~(chksum); in ReplayUdp()