Commit Graph

8 Commits

Author SHA1 Message Date
Jon Shallow
cd02cad6c3 LwIP: Support LwIP builds when NO_SYS = 1
Follow the model of how things are done for Contiki.

Set up a new WITH_LWIP_NO_SOCKET (which happens with NO_SYS = 1)
and use this when setting up addresses.

Add in platform specific for dtls_prng_lwip.c and lwip_platform.h

Update dtls_time.[ch] to handle LWIP version of time.

Code works for NO_SYS = 1 or NO_SYS = 0.

Signed-off-by: Jon Shallow <supjps-libcoap@jpshallow.com>
2022-10-21 16:30:16 +02:00
Achim Kraus
16d3764191 Support zephyr.
Add initial support for zephyr.
Mutex is currently not supported, nor used.

Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
2022-07-08 14:51:05 +02:00
Francisco Molina
a0a1c39879 dtls_time: migrate to ztimer_msec 2022-06-23 09:58:52 +02:00
Achim Kraus
cde751a7ec dtls.c, netq.c: consider 32bit time overflow.
Fixes issue: #125

Signed-off-by: Achim Kraus <achim.kraus@bosch.io>
2022-03-30 13:44:40 +02:00
Achim Kraus
5e40624ec0 dtls_time.h: conditionally include time header files.
Include time.h and sys/time.h based on HAVE_TIME_H and HAVE_SYS_TIME_H.

Signed-off-by: Achim Kraus <achim.kraus@bosch.io>
2022-01-07 11:47:49 +01:00
Sebastian Meiling
1208f51319 dtls_time.h: fix CLOCK_SECOND redefined on FreeBSD
Signed-off-by: Sebastian Meiling <s@mlng.net>
2019-12-06 18:30:29 +01:00
Olaf Bergmann
8cfcbab4a7 dtls_time.[hc]: use xtimer on platform RIOT
Change-Id: I81b6485dc9832bfced2961ba3a9c29739adaaa60
2018-02-16 10:27:27 +01:00
Olaf Bergmann
e1388b3980 New initial commit 2016-02-02 18:39:21 +01:00