1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/api-tests
Andy Green d0fa39af7f lws_system: dhcpclient
Generic lws_system IPv4 DHCP client

 - netif and route control via lib/plat apis
 - linux plat pieces implemented
 - Uses raw ip socket for UDP broadcast and rx
 - security-aware
 - usual stuff plus up to 4 x dns server

If it's enabled for build, it holds the system
state at DHCP until at least one registered interface
has acquired a set of IP / mask / router / DNS server

It uses PF_PACKET which is Linux-only atm.  But those
areas are isolated into plat code.

TODOs

 - lease timing and reacquire
 - plat pieces for other than Linux
2019-10-12 12:41:14 +01:00
..
api-test-async-dns async-dns: update for lws_retry udp 2019-10-10 16:34:37 +01:00
api-test-dhcpc lws_system: dhcpclient 2019-10-12 12:41:14 +01:00
api-test-fts cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
api-test-gencrypto gencrypto: aes: improve test key now openssl checks it 2019-07-14 15:46:47 -07:00
api-test-jose COV225132: check if no JOSE alg 2019-09-22 09:35:07 -07:00
api-test-lws_dsh freertos: rename esp32 plat to freertos 2019-08-26 09:58:57 +01:00
api-test-lws_sequencer tls certs: update warmcat.com and libwebsockets.org public certs 2019-09-22 03:08:36 -07:00
api-test-lws_struct-json c++: establish a single place for opaque forward references 2019-08-18 05:40:56 +01:00
api-test-lws_tokenize tokenize: flag for # as rest of line comment 2019-09-16 11:09:05 +01:00
api-test-lwsac cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
api-test-smtp_client abstract: existing connection compare 2019-10-10 16:34:37 +01:00
README.md smtp: make abstract 2019-05-04 08:28:31 +01:00

These are buildable test apps that run in CI to confirm correct api operation.

name tests
api-test-lwsac LWS Allocated Chunks api
api-test-lws_struct-json Selftests for lws_struct JSON serialization and deserialization
api-test-lws_tokenize Generic secure string tokenizer api
api-test-fts LWS Full-text Search api
api-test-gencrypto LWS Generic Crypto apis
api-test-jose LWS JOSE apis
api-test-smtp_client SMTP client for sending emails