zephyr/subsys/net/lib
Tomasz Gorochowik c0b30355fb net: sockets: implement getsockname function
From POSIX.1-2017:

The getsockname() function shall retrieve the locally-bound name of the
specified socket, store this address in the sockaddr structure pointed
to by the address argument, and store the length of this address in the
object pointed to by the address_len argument.

The address_len argument points to a socklen_t object which on input
specifies the length of the supplied sockaddr structure, and on output
specifies the length of the stored address. If the actual length of the
address is greater than the length of the supplied sockaddr structure,
the stored address shall be truncated.

If the socket has not been bound to a local name, the value stored in
the object pointed to by address is unspecified.

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
2019-05-17 22:49:32 +03:00
..
coap license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
config Bluetooth: Use BT_GATT_SERVICE_DEFINE whenever possible 2019-05-02 08:29:23 +03:00
dns license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
http license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
lwm2m cmake: Don't have users call zephyr_link_interface on mbedTLS 2019-05-11 08:35:26 -04:00
mqtt net: lib: mqtt: Enable blocking PUBLISH payload readout 2019-05-07 22:08:30 -04:00
openthread net: Check device driver API pointer 2019-05-07 15:41:15 +03:00
sntp net: sntp: Add convenience API for one-shot SNTP query 2019-05-10 13:44:32 +03:00
sockets net: sockets: implement getsockname function 2019-05-17 22:49:32 +03:00
socks license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
tls_credentials license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
utils net: socketutils: Add utils to manipulate network address strings 2019-05-10 13:44:32 +03:00
CMakeLists.txt net: socketutils: Add utils to manipulate network address strings 2019-05-10 13:44:32 +03:00
Kconfig net: Add initial SOCKS5 support 2019-02-08 14:20:44 +02:00