mbed-os/features/netsocket
Arto Kinnunen 4d8af9f333 Add getsockopt option to read network property
Add getsockopt options NSAPI_LATENCY and NSAPI_STAGGER to read
network specific timing constraints from socket.
-NS_LATENCY returns estimated latency to given address.
-NSAPI_STAGGER returns estimated initial delay that application
 should wait before transmitting data to network.

Application can use the new options to avoid network congestion by
adjusting transmission delays and retry timeouts.

Add wrappers to make API usage easier:
-get_rtt_estimate_to_address
-get_stagger_estimate_to_address

This is backport of the https://github.com/ARMmbed/mbed-os/pull/12522
2020-04-29 13:20:42 +03:00
..
cellular Cellular: Non-IP doxygen updates 2019-02-18 09:53:59 +02:00
emac-drivers Merge remote-tracking branch 'upstream/mbed-os-5.15' into feature-wisun 2020-04-16 13:03:48 +03:00
ppp Revert "Backport #12603: Add CYSBSYSKIT_01" 2020-04-08 14:14:11 -07:00
CellularBase.h CellularBase -> CellularInterface tidy 2019-03-20 10:12:14 +02:00
CellularInterface.h Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
DNS.h Multihoming change parameter orded in gethostbyname 2019-02-20 14:37:33 +02:00
DTLSSocket.cpp Astyle fixes 2018-11-19 15:31:31 +02:00
DTLSSocket.h Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
DTLSSocketWrapper.cpp Prepare for upcoming MbedTLS changes 2020-03-31 08:25:05 +03:00
DTLSSocketWrapper.h Adds newlines to avoid compiler warnings 2019-01-23 16:43:32 +02:00
EMAC.h Edit EMAC.h 2018-10-29 15:14:07 -05:00
EMACInterface.cpp Remove internal usage of deprecated APIs in IPCore 2019-11-27 20:02:20 +02:00
EMACInterface.h Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
EMACMemoryManager.h L3IP Interface Implementation 2018-12-20 15:23:43 +01:00
EthInterface.h typo fixes, future->present 2019-01-21 11:45:12 +02:00
EthernetInterface.cpp Add NetworkInterface::get_default_instance() 2018-05-23 12:25:17 +03:00
EthernetInterface.h doxygen fixes 2018-10-24 20:24:33 +01:00
ICMPSocket.cpp Incorporate review comments from @kjbracey-arm 2019-10-25 10:51:50 -07:00
ICMPSocket.h Incorporate review comments from @kjbracey-arm 2019-10-25 10:51:50 -07:00
InternetDatagramSocket.cpp Incorporate review comments from @kjbracey-arm 2019-10-25 10:51:50 -07:00
InternetDatagramSocket.h Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
InternetSocket.cpp Add getsockopt option to read network property 2020-04-29 13:20:42 +03:00
InternetSocket.h Add getsockopt option to read network property 2020-04-29 13:20:42 +03:00
L3IP.h Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
L3IPInterface.cpp Baremetal profile fixes 2019-11-01 15:12:19 +02:00
L3IPInterface.h Multihoming initial release 2019-02-19 17:39:46 +02:00
MeshInterface.h Create new netinterface Doxygen group 2019-01-21 11:43:49 +02:00
NetStackMemoryManager.cpp L3IP Interface Implementation 2018-12-20 15:23:43 +01:00
NetStackMemoryManager.h L3IP Interface Implementation 2018-12-20 15:23:43 +01:00
NetworkInterface.cpp Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
NetworkInterface.h Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
NetworkInterfaceDefaults.cpp CellularBase -> CellularInterface tidy 2019-03-20 10:12:14 +02:00
NetworkStack.cpp Remove internal usage of deprecated APIs in IPCore 2019-11-27 20:02:20 +02:00
NetworkStack.h Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
OnboardNetworkStack.h Revert "Pairing fails when IPv6 enabled in SoftAP intf" 2020-02-06 11:27:33 +00:00
PPP.h Created netsocket classes for PPP service and PPP interface 2019-08-20 13:27:54 +03:00
PPPInterface.cpp Remove internal usage of deprecated APIs in IPCore 2019-11-27 20:02:20 +02:00
PPPInterface.h Remove internal usage of deprecated APIs in IPCore 2019-11-27 20:02:20 +02:00
Socket.h Document Socket API functions return values. 2019-11-04 11:55:19 +02:00
SocketAddress.cpp Multihoming change parameter orded in gethostbyname 2019-02-20 14:37:33 +02:00
SocketAddress.h Multiple memory handling fixes 2019-02-20 14:15:57 +02:00
SocketStats.cpp Move socket-stats-enable to socket-stats-enabled. 2019-03-01 13:31:33 -06:00
SocketStats.h Update recently added previous macro name uses in tests 2019-03-01 13:53:47 -06:00
TCPServer.cpp InternetSocket: Use atomics, not volatile 2019-01-18 15:37:11 +02:00
TCPServer.h Introduce Semaphore::acquire methods 2019-05-28 17:02:06 +03:00
TCPSocket.cpp Multihoming change parameter orded in gethostbyname 2019-02-20 14:37:33 +02:00
TCPSocket.h Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
TLSSocket.cpp Offloaded TLSSocket for BG96 2019-09-25 09:25:33 +03:00
TLSSocket.h Deprecate string-based APIs in IPCore 2019-11-22 11:31:12 +02:00
TLSSocketWrapper.cpp more error handling added for ctr and hmac 2020-03-31 16:04:54 +03:00
TLSSocketWrapper.h more error handling added for ctr and hmac 2020-03-31 16:04:54 +03:00
UDPSocket.cpp Incorporate review comments from @kjbracey-arm 2019-10-25 10:51:50 -07:00
UDPSocket.h Incorporate review comments from @kjbracey-arm 2019-10-25 10:51:50 -07:00
WiFiAccessPoint.cpp Merge remote-tracking branch 'upstream/master' into feature_wifi_ublox_merge 2016-10-02 07:29:07 -05:00
WiFiAccessPoint.h netsocket: astyle fix 2018-08-03 13:34:33 +01:00
WiFiInterface.h Fix NetworkInterface::set_default_parameters binary compatibility 2019-01-28 03:27:10 -08:00
mbed_lib.json Offloaded TLSSocket for BG96 2019-09-25 09:25:33 +03:00
nsapi.h Implement DTLSSocketWrapper and fix non-blocking connections on TLSSocket 2018-11-19 15:19:49 +02:00
nsapi_dns.cpp nsapi_dns: use delete[] for array alloc'd with new[] 2019-11-05 22:39:58 +02:00
nsapi_dns.h DNS: unified parameter type of nsapi_dns_query_async_cancel 2019-10-23 11:58:15 +03:00
nsapi_ppp.h netsocket: astyle fix 2018-08-03 13:34:33 +01:00
nsapi_types.h Add getsockopt option to read network property 2020-04-29 13:20:42 +03:00