cpq
1cadd2b2aa
Fetch multiple frames from the queue
2026-01-07 05:53:55 +00:00
cpq
f40b377fff
Make MG_TCPIP_WIN tunable
2026-01-07 05:46:39 +00:00
Sergio R. Caprile
73bec74380
Make mcast/bcast consistent across stacks
...
Fix net_builtin inconsistency
2025-12-29 14:22:59 -03:00
Sergio R. Caprile
21fbf9cdc5
add more tests, fix NDP
2025-12-17 17:39:09 -03:00
Sergey Lyubka
10ab9ae1ea
Merge pull request #3370 from cesanta/l2
...
Decouple from Ethernet, introduce "l2"
2025-12-15 14:49:56 +00:00
cpq
756d127cab
C89 nitpick
2025-12-15 10:03:12 +00:00
Sergio R. Caprile
66d4069644
Decouple from Ethernet, introduce "l2"
2025-12-12 13:46:20 -03:00
Sergio R. Caprile
b0109c3319
Add support for prefix, link local and global in same net
2025-12-08 16:05:32 -03:00
Sergio R. Caprile
60ce504489
fix IPv6
2025-12-05 16:22:16 -03:00
Sergio R. Caprile
5b023cb85b
Add support for Windriver's Diab v4 (stricter C89)
2025-12-04 13:58:49 -03:00
Sergio R. Caprile
66dcca9392
Add safety nets for lousy networks
2025-12-03 11:31:47 -03:00
Sergio R. Caprile
a4b7025396
allow no options in DHCP msgs
2025-12-01 10:46:03 -03:00
Sergio R. Caprile
02e97adbef
no router => no route
2025-11-24 15:09:35 -03:00
Sergio R. Caprile
236724ea29
fix mg_send() failing on 0 length
2025-11-19 17:02:28 -03:00
Sergio R. Caprile
4fc40f0ffb
Allow listeners to start before stack is ready
2025-11-17 15:23:37 -03:00
Sergio R. Caprile
c8291e4ae9
add OOM handling to apps
2025-11-05 14:01:49 -03:00
Sergio R. Caprile
84e9ea76db
wip
2025-11-05 13:55:14 -03:00
Sergio R. Caprile
b8994f8bc3
Handle OOM situations in iobuf expansion
2025-11-05 13:53:18 -03:00
Sergio R. Caprile
337e8abf2f
Introduce IPv6, unit tests pass
2025-11-05 11:04:23 -03:00
Sergio R. Caprile
e0304f2b8f
TLS: fix resuming handshake, cert req length, 2-way auth app key generation and handling
2025-11-04 15:35:28 -03:00
Sergio R. Caprile
ad58a48144
fixes for C89
2025-10-01 13:51:37 -03:00
Sergio R. Caprile
1dff394b63
unbreak ARP
2025-09-12 11:11:00 -03:00
Sergio R. Caprile
1f56776050
compiler nits
2025-09-10 19:27:17 -03:00
Sergio R. Caprile
b3a0e7b884
fix extension header traversal
2025-09-10 18:57:15 -03:00
Sergio R. Caprile
c1ef477ff3
Merge pull request #3266 from cesanta/wifi
...
Move interface stuff out of user handlers
2025-09-09 14:29:29 -03:00
Sergio R. Caprile
387f875aa1
Move interface stuff out of user handlers
2025-09-08 16:00:44 -03:00
Sergio R. Caprile
cc069e7e5d
align mg_addr to 32- and 64-bits
2025-09-08 11:43:28 -03:00
Sergio R. Caprile
0e63510708
Fix IP opts
...
Refactor payload handling
Refactor UDP port unreachable
Add UDP unit tests
Introduce basic IPv6 handling
2025-09-02 15:58:02 -03:00
Sergio R. Caprile
7339c7dfe7
Fix TCP error handling
...
Add unit tests for TCP error handling
Account for options in TCP header for payload start address calculation
Take UDP payload length from UDP header
2025-08-29 10:34:17 -03:00
Sergio R. Caprile
7ee1f14a6d
add TCP backlog to handle client MSS
2025-08-22 11:42:41 -03:00
Sergey Lyubka
b19cf8654f
Merge pull request #3203 from cesanta/dns
...
Built-in TCP/IP (re-)starts DNS connection on DHCP link up
2025-08-01 12:13:39 +01:00
Sergio R. Caprile
467fbf4bb4
Fix ignoring SEQ on FIN
2025-07-22 14:16:35 -03:00
Sergey Lyubka
24a330c750
Nits
2025-07-20 12:49:58 +01:00
Sergio R. Caprile
393063428e
Built-in TCP/IP (re-)starts DNS connection on link up
2025-07-14 15:06:31 -03:00
Sergio R. Caprile
2c7f58aed2
test checksum primitives, enforce rx frag test
2025-07-08 13:57:03 -03:00
Sergio R. Caprile
b3ee71acbe
make TCP/IP C89-friendly
2025-07-08 11:15:32 -03:00
Sergio R. Caprile
0b5c0c9889
mg_send now honors UDP failures
2025-07-02 10:04:24 -03:00
Sergey Lyubka
074ef5197b
Introduce mg_calloc
2025-06-24 10:52:44 +01:00
Sergio R. Caprile
2fc56dd1d0
Allow KA from erroneous implementations
2025-06-17 15:14:30 -03:00
Sergio R. Caprile
acf217601b
Add Keep-Alive ACK
2025-06-11 14:25:05 -03:00
Sergio R. Caprile
98e744a9ad
fix error introduced in #3149
2025-06-03 15:29:28 -03:00
Sergio R. Caprile
b740c80855
set is_tls at mg_listen and mg_connect level
2025-05-26 09:42:48 -03:00
Sergio R. Caprile
1f48b1ca65
flush TLS buffer
2025-05-23 14:04:59 -03:00
Sergio R. Caprile
fadf28adb4
Make built-in TLS play fair to TCP
...
Handshake functions in Mongoose TLS assumed data was being fully sent
after calling mg_io_send(). This was in fact the case with the usual 1460-bytes MSS, but not with the default 536-bytes MSS.
This PR removes all those calls from individual handshake functions, actual send is done at the main handshake function, keeping track of the amount of data sent, and so handling small MTUs/MSSs and possible MG_IO_WAITs when running over a socket layer.
2025-05-22 14:45:46 -03:00
Sergio R. Caprile
8061a41b38
workaround
2025-05-19 09:22:59 -03:00
Sergio R. Caprile
54d4611eb6
call mg_tcpip_free from mg_mgr_free()
2025-05-15 17:37:40 -03:00
Sergio R. Caprile
f3fafb6759
make clang happy
2025-05-15 17:09:29 -03:00
Sergio R. Caprile
14be42c868
INFO -> VERBOSE
2025-05-15 15:50:36 -03:00
Sergey Lyubka
a3b63f3b0d
Merge pull request #3130 from cesanta/longpost
...
fix broken TCP closure
2025-05-13 22:26:15 +01:00
Sergio R. Caprile
1ef6c6aeb5
Handle TCP options
2025-05-13 16:27:50 -03:00