zephyr/subsys
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
..
bluetooth Bluetooth: GATT: Fix not parsing result of Read by Type 2019-05-17 15:29:37 +03:00
console console: kconfig: Put 'menuconfig CONSOLE_SUBSYS' in top-level menu 2019-05-15 05:10:01 -05:00
cpp c++: kconfig: Fix choice dependencies and use 'menuconfig' symbol 2019-05-16 07:08:21 -05:00
debug arch: arm: remove _preempt_float in unshared FP registers mode 2019-05-03 14:25:22 -04:00
dfu dfu: kconfig: Remove 'DFU Options' menu 2019-05-15 05:02:32 -05:00
disk license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fb license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fs fs: nvs: format specifier alignment 2019-05-13 17:07:28 +02:00
jwt cmake: Don't have users call zephyr_link_interface on mbedTLS 2019-05-11 08:35:26 -04:00
logging logging: Fix RTT backend drop mode and coverity issue 2019-04-12 08:38:16 -04:00
mgmt Bluetooth: GATT: Rename BT_GATT_DB to BT_GATT_DYNAMIC_DB 2019-05-02 08:29:23 +03:00
net net: sockets: implement getsockname function 2019-05-17 22:49:32 +03:00
power kernel: Fix usage of CONFIG_SYS_CLOCK_EXISTS 2019-05-15 10:44:59 +02:00
random subsys/random: Hide 'Random generator' choice when empty 2019-05-15 05:10:56 -05:00
settings subsys/settings: Correct size in strncpy to avoid unterminated strings 2019-05-10 09:01:40 -04:00
shell shell: Move signals initialization from thread to init 2019-05-13 14:05:02 +02:00
stats stats: extending api to handle statistics with more than 256 elements 2019-05-01 10:33:17 -04:00
storage flash_map: add shell interface 2019-04-19 13:41:02 -05:00
testsuite testsuite: ztest: Add zassert_within macro 2019-05-07 23:18:22 -04:00
usb usb: add zero-length packet after MPS-sized IN transaction 2019-05-12 15:15:08 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00