1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Andy Green aadcd3c44a lws_fx: fixed point 3232 arithmetic
This introduces a fixed precision signed 32.32 fractional type that can
work on devices without an FPU.

The integer part works as an int32_t, the fractional part represents the
fractional proportion expressed as part of 100M, so 8 fractional decimal
digit precision which is more than enough for many applications.

Add and Sub are reasonably fast as they are scaled on to a combined
uint64_t, Multiply is a little slower as it takes four uint64_t multiplies
that are summed, and divide is expensive but accurate, done bitwise taking
up to 32 iterations involving uint64_t div and mod.
2022-03-15 10:28:09 +00:00
..
core lws_fx: fixed point 3232 arithmetic 2022-03-15 10:28:09 +00:00
core-net route: extend lws_route_uidx_t from 1 byte to 2 bytes 2022-03-15 10:28:09 +00:00
cose coverity: 2021-12-1 uplevel fixes 2022-03-15 10:28:09 +00:00
drivers esp32: update against Dec 21 idf 2021-12-23 06:20:27 +00:00
event-libs sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
jose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
misc alloc: compressed backtrace instrumentation support 2022-03-15 10:28:09 +00:00
plat coverity: 2021-12-1 uplevel fixes 2022-03-15 10:28:09 +00:00
roles alloc: compressed backtrace instrumentation support 2022-03-15 10:28:09 +00:00
secure-streams ss: support VFS via file:// 2022-03-15 10:28:09 +00:00
system adns: bump DNS_MAX to 128 2022-03-15 10:28:09 +00:00
tls mbedtls: v3.1 reverts privacy of mbedtls_net_context fd 2022-03-15 10:28:09 +00:00
CMakeLists.txt pkgconfig: use appropriate static lib name 2022-03-15 10:28:09 +00:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries