Commit Graph

26 Commits (f75ff2271430b2876a6868e08746195dc4fa1243)

Author SHA1 Message Date
ATmobica 784f17b26c Add netbuf-recvinfo-enabled config to LWIP mbed_lib.json 2021-11-25 17:18:35 +01:00
ndrs-pst a93aca8a47 LWIP: Provide inline replacements for htons() and htonl() 2021-09-25 15:13:22 +07:00
mateusz.kalinowski c3d16f733f Adding documentation and minor code changes
Doxygen documentation for MsgHeaderIterator was added. Type used
for alignment of the nsapi_msghdr_t struct was changed.
2021-09-06 11:14:54 +01:00
mateusz.kalinowski ec3f4379d9 Code improvements for the unresolved comments
This patch contains improvements mentioned in the unresolved PR
comments:
- function names were changed from socket_sendmsg/socket_recvmsg to
  socket_sendto_control/socket_recvfrom_control.
- default implementation of this functions was provided in the
  NetworkStack class.
- MsgHeaderIterator accesses elements on the aligned addresses.
2021-09-03 12:49:00 +01:00
Tymoteusz Bloch bdfd98e764 New feature: send/recv message implementation added to network stack 2021-09-01 09:13:57 +01:00
Tymoteusz Bloch 580fd2c55a Add LWIP Broadcast option for UDP socket. 2021-06-09 01:44:51 +02:00
Martin Kojtal 6aef1af9e0
Merge pull request #14342 from JojoS62/fix-lwIP-add_dns_server
use calloc for new_interface_server
2021-03-12 08:44:50 +00:00
Johannes Stratmann e28df3aa30 replace underscore by hyphen 2021-03-02 16:54:34 +01:00
Johannes Stratmann 6934a46505 move private struct dns_server_interface to c file
use ip_addr function to initialize dns_add_interface_server
2021-03-02 14:51:11 +01:00
Johannes Stratmann 73ce15ccbb turn off rdnss for compatibility 2021-02-24 21:13:26 +01:00
Johannes Stratmann ddbc2d7b88 add options to use RDNSS and IPv6 queuing 2021-02-24 21:09:40 +01:00
Johannes Stratmann 54b3b03426 use calloc for new_interface_server
malloc left garbage in the structure, dns IPs were filled with random content
2021-02-24 20:50:29 +01:00
Martino Facchin 8d9b6e9088 lwip: use adeguate mem-size for Portenta H7 2020-12-11 10:11:53 +01:00
Martin Kojtal 1bd5ce6af2
Merge pull request #13671 from balajicyp/topic/setsockopt_ip_tos
Add an socket option to set type of service to set specific precedence for QoS
2020-11-18 09:36:06 +00:00
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Hugues Kamba fa98689639 CMake: Componentize Mbed OS into multiple CMake targets (#13732)
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.

Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba e744208c07 CMake: Fix build failure due to drivers and lwipstack dirs move 2020-11-06 17:25:18 +00:00
Harrison Mutai 6bfe651aad Remove erroneous character from SPDX identifer
Erroneous '/' was appended to start of comment. This was causing CMake
warning during complition. Removes character from affected files.
2020-10-23 15:08:58 +01:00
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Balaji Subramanyam ada44a62f4 Add nsapi types for IP TOS and fix opt length check 2020-10-12 13:09:43 -07:00
Balaji Subramanyam 7f2c00b54c set ip type of service to set specific precedence for QoS 2020-09-25 15:25:08 -07:00
Balaji Subramanyam fcb3889445 set ip type of service to set specific precedence for QoS 2020-09-25 14:57:55 -07:00
RyoheiHagimoto db3cec4398 Added GR-MANGO to be a target.
Passed GreenTea CI.
Added RZ_A2XX and GR_MANGO to targets.json.
Added RZ_A2XX to mbedlib.json in lwipstack and netsocket/ppp.
Added TARGET_RZ_A2XX directory to targets/TARGET_RENESAS.
Added TARGET_RENESAS_EMAC directory to features/netsocket/emac-drivers.
Moved TARGET_RZ_A1_EMAC directory into the TARGET_RENESAS_EMAC directory below and renamed to TARGET_RZ_A1XX.
Added TARGET_RZ_A2XX directory to features/netsocket/emac-drivers/TARGET_RENESAS_EMAC.
2020-08-18 10:48:48 +09:00
RyoheiHagimoto 1133bfbd50 Added argument-check to dns_get_interface_server.
Added argument-check to avoid accessing NULL pointer.
The second argument 'interface_name' of this function can be NULL.
And the argument 'interface_name' is used for the argument of strcmp() without checked.

For example, LWIP::add_dns_server() calls dns_getserver(index - 1, NULL).
2020-08-18 10:48:47 +09:00
George Psimenos bcb5c10d62 Update lwipstack paths 2020-07-31 10:19:52 +01:00
George Psimenos 97ea45ad63 Move lwipstack
- Public headers moved into mbed-os/connectivity/lwipstack/include/lwipstack folder
- Source moved into mbed-os/connectivity/lwipstack/source folder
- Internal lwip and lwip-sys libraries moved to source folder
2020-07-31 10:15:25 +01:00