Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 12 of 12) sorted by relevance

/lib/liblwip/src/core/
Dtimers.c269 struct sys_timeo *timeout, *t; in sys_timeout_debug() local
271 timeout = (struct sys_timeo *)memp_malloc(MEMP_SYS_TIMEOUT); in sys_timeout_debug()
272 if (timeout == NULL) { in sys_timeout_debug()
273 LWIP_ASSERT("sys_timeout: timeout != NULL, pool MEMP_SYS_TIMEOUT is empty", timeout != NULL); in sys_timeout_debug()
276 timeout->next = NULL; in sys_timeout_debug()
277 timeout->h = handler; in sys_timeout_debug()
278 timeout->arg = arg; in sys_timeout_debug()
279 timeout->time = msecs; in sys_timeout_debug()
281 timeout->handler_name = handler_name; in sys_timeout_debug()
283 (void *)timeout, msecs, handler_name, (void *)arg)); in sys_timeout_debug()
[all …]
Ddhcp.c929 u32_t timeout; in dhcp_bind() local
941 timeout = (dhcp->offered_t1_renew + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; in dhcp_bind()
942 if(timeout > 0xffff) { in dhcp_bind()
943 timeout = 0xffff; in dhcp_bind()
945 dhcp->t1_timeout = (u16_t)timeout; in dhcp_bind()
954 timeout = (dhcp->offered_t2_rebind + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; in dhcp_bind()
955 if(timeout > 0xffff) { in dhcp_bind()
956 timeout = 0xffff; in dhcp_bind()
958 dhcp->t2_timeout = (u16_t)timeout; in dhcp_bind()
/sys/kern/
Dktimer.c41 KTimer_Create(uint64_t timeout, KTimerCB cb, void *arg) in KTimer_Create() argument
47 evt->timeout = timerNow + timeout; in KTimer_Create()
52 slot = (timerHead + timeout + TIMER_WHEEL_LENGTH - 1) % TIMER_WHEEL_LENGTH; in KTimer_Create()
105 if (it->timeout <= now) { in KTimer_Process()
/lib/liblwip/src/arch/
Dsys_arch.c106 u32_t timeout);
301 sys_arch_mbox_fetch(struct sys_mbox **mb, void **msg, u32_t timeout) in sys_arch_mbox_fetch() argument
317 if (timeout != 0) { in sys_arch_mbox_fetch()
318 time_needed = sys_arch_sem_wait(&mbox->not_empty, timeout); in sys_arch_mbox_fetch()
375 cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex, u32_t timeout) in cond_wait() argument
383 if (timeout > 0) { in cond_wait()
388 usec += timeout % 1000 * 1000; in cond_wait()
389 sec += (int)(timeout / 1000) + (int)(usec / 1000000); in cond_wait()
416 sys_arch_sem_wait(struct sys_sem **s, u32_t timeout) in sys_arch_sem_wait() argument
425 if (timeout > 0) { in sys_arch_sem_wait()
[all …]
/sys/include/
Dktimer.h11 uint64_t timeout; member
17 KTimerEvent *KTimer_Create(uint64_t timeout, KTimerCB cb, void *arg);
/lib/liblwip/src/include/lwip/
Dapi.h274 #define netconn_set_sendtimeout(conn, timeout) ((conn)->send_timeout = (timeout)) argument
280 #define netconn_set_recvtimeout(conn, timeout) ((conn)->recv_timeout = (timeout)) argument
Dsys.h148 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout);
191 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout);
Dsockets.h341 struct timeval *timeout);
/pxelinux/pxelinux.cfg/
Ddefault3 timeout 10
/lib/liblwip/doc/
Dsys_arch.txt66 - u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout)
69 signaled. If the "timeout" argument is non-zero, the thread should
71 milliseconds). If the "timeout" argument is zero, the thread should be
74 If the timeout argument is non-zero, the return value is the number of
123 - u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout)
126 not block the thread longer than "timeout" milliseconds (similar to
127 the sys_arch_sem_wait() function). If "timeout" is 0, the thread should
135 timeout.
/lib/liblwip/src/api/
Dsockets.c1089 struct timeval *timeout) argument
1102 timeout ? (s32_t)timeout->tv_sec : (s32_t)-1,
1103 timeout ? (s32_t)timeout->tv_usec : (s32_t)-1));
1111 if (timeout && timeout->tv_sec == 0 && timeout->tv_usec == 0) {
1170 if (timeout == 0) {
1174 msectimeout = ((timeout->tv_sec * 1000) + ((timeout->tv_usec + 500)/1000));
/lib/liblwip/
DCHANGELOG35 * opt.h, api.h, api_lib.c, api_msg.h/.c, sockets.c: Implemented timeout on
387 * opt.h, tcpip.c/.h: Added an option to disable tcpip_(un)timeout code
460 (Restart system timeout handling)
1083 timeout
1409 * tcp.c: fixed bug #25467: Listen backlog is not reset on timeout in SYN_RCVD:
1476 * err.h, err.c, sockets.c: Fix bug #23119: Reorder timeout error code to
2689 * sockets.c: Fix BUG#19161 - ensure milliseconds timeout is non-zero
2690 when supplied timeout is also non-zero
2834 * etharp.*: Fixed race condition from ARP request to ARP timeout.
3334 - TCP retransmission timeout backoffs are not correctly computed
[all …]