18 Commits

Author SHA1 Message Date
Elwin Huang
6fd9457924 Fix goto indentation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-27 21:26:49 +08:00
Elwin Huang
bf18444e97 Fix compile error. 2025-07-25 18:58:33 +08:00
EcuasYos
c1d3fc8031 dhcp: Fix DHCP_OFFER/DHCP_ACK destinaton.
In RFC 2131, the destination of DHCP OFFER/ACK is defined in Section 4.1.
Fix the destination error by following the rule of RFC 2131.
TODO: We implement all rule but the last one. ARP table is required to associate client's macaddr.
Currently, fallback to broadcast.

Signed-off-by: Elwin Huang <s09289728096@gmail.com>
2025-07-25 17:02:37 +08:00
hathach
5c18a32aaa add TUD_EPBUF_DEF for ecm rndis, also separate notify and control buffer, use edpt_claim() to prevent race condition 2024-11-22 20:09:29 +07:00
dp111
6935c66309 Make function parameter definitions match function prototypes ( found with cppcheck) 2024-09-03 20:32:23 +01:00
maflcko
56dbfe59d9 Update dnserver.c: Match dnserv_free signature with fwd-decl 2024-04-30 11:00:45 +02:00
jfm92
d4be0fd104 Adding extern C to definitions to allow link on C++ project 2023-11-13 10:14:55 +01:00
hathach
ef49b93532 rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stack
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-24 15:46:21 +07:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
Jannis Achstetter
830849211d dhserver: Fix a potential DoS vulnerability accidentially introduced by #1712 2023-02-04 22:37:39 +01:00
Bastien Nocera
6a2cf67289 Fix typos 2022-12-04 19:43:23 +07:00
Jannis Achstetter
3f3f6eee1c dhserver: Support DHCP clients that don't send the MESSAGETYPE as first option
Signed-off-by: Jannis Achstetter <kripton@kripserver.net>
2022-11-01 23:42:58 +01:00
Peter Lawrence
d42b5604ce net_lwip_webserver: allow users to enable LWIP_IP6 if desired 2021-10-19 11:29:51 -05:00
Peter Lawrence
56277ce216 net_lwip_webserver: efficiency tweaks 2020-10-14 20:26:40 -05:00
hathach
81b1f97ef7 suppress cast-align warnings for net device driver 2020-05-18 13:23:40 +07:00
hathach
76a27cf49a fix rndis response to get mac address
- remove cflags -fshort-enums
- clean up webserver descriptor
2020-03-23 15:21:22 +07:00
Peter Lawrence
4a4682a80a update net class to follow API naming convention 2020-03-03 10:31:46 -06:00
Peter Lawrence
fee79d7466 add CDC-ECM/RNDIS/CDC-EEM network device class with example 2020-03-02 21:15:01 -06:00