zephyr/include/net
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
..
bt.h
buf.h net: buf: Remove wrong alignment annotation from NET_BUF_SIMPLE() 2019-04-18 17:53:36 -04:00
coap_link_format.h net: coap: Remove legacy CoAP implementation 2019-02-04 16:49:59 -05:00
coap.h net: coap: Remove legacy CoAP implementation 2019-02-04 16:49:59 -05:00
dhcpv4.h doc: net: Enhance DHCPv4 documentation 2019-02-21 08:01:51 -05:00
dns_resolve.h net: dns: Fix DNS documentation 2019-02-15 16:39:06 -05:00
dummy.h net/dummy: Switch to L2 sending path 2018-11-30 11:12:13 -08:00
ethernet_mgmt.h net: ethernet_mgmt: Add missing documentation 2019-02-15 16:39:06 -05:00
ethernet_vlan.h net: ethernet: vlan: Add missing function documentation 2019-02-15 16:39:06 -05:00
ethernet.h drivers: native_posix: Add VLAN tag strip feature 2019-04-26 10:46:27 +03:00
gptp.h net: gptp: Rename z_gptp_pow2() to gptp_pow2() 2019-03-25 14:43:23 -04:00
hostname.h net: Fix the function API documentation generation 2019-02-15 16:39:06 -05:00
http_parser_state.h
http_parser_url.h
http_parser.h
ieee802154_mgmt.h
ieee802154_radio.h drivers: ieee802154: New API for ACK configuration 2019-05-01 20:40:30 +03:00
ieee802154.h
ipv4_autoconf.h
lldp.h net: ethernet: lldp: Use short types for ints 2019-03-27 10:13:16 -05:00
lwm2m.h doc: fix misspelling in docs and API comments 2019-03-27 15:59:09 -04:00
mii.h net: ethernet: Place MII defines into separate doxygen group 2019-02-26 02:07:36 +01:00
mqtt.h net: lib: mqtt: Enable blocking PUBLISH payload readout 2019-05-07 22:08:30 -04:00
net_config.h net: config: Document the flags options 2019-02-20 19:41:59 -05:00
net_context.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
net_core.h net: core: Fix documentation for core helpers 2019-02-19 15:21:01 -05:00
net_event.h net: Hide internal code from documentation 2019-02-15 16:39:06 -05:00
net_if.h net: if: Only start the network interface during init if needed 2019-04-23 13:11:03 +03:00
net_ip.h net/ip: Make struct net_addr holding uninon of ipv6/4 unconditionally 2019-05-07 15:40:33 +03:00
net_l2.h net: doc: Add missing doxygen comments to structs 2019-02-27 08:34:39 -06:00
net_linkaddr.h net: link_addr: Add more info to link layer address API 2019-02-19 15:07:41 -05:00
net_mgmt.h net: Hide internal code from documentation 2019-02-15 16:39:06 -05:00
net_offload.h net/offload: Add dummy functions when offloading is disabled 2019-05-07 15:40:33 +03:00
net_pkt.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
net_stats.h net: stats: Wrong Kconfig options were used for statistics 2019-02-26 02:25:45 +01:00
net_timeout.h net: timeouts: Fix documentation for net_timeouts.h 2019-02-15 16:39:06 -05:00
openthread.h openthread: Update openthread version to latest upstream/master. 2018-12-20 12:24:51 +01:00
promiscuous.h net: fix errno returned without promiscuous mode support 2019-04-17 15:39:04 +03:00
ptp_time.h net: gptp: Convert SyncReceiptTime to ExtendedTimestamp 2018-10-01 14:48:53 +03:00
sntp.h net: sntp: Add convenience API for one-shot SNTP query 2019-05-10 13:44:32 +03:00
socket_can.h can: Rename can_msg and can_msg_filter structs 2019-02-22 08:07:03 -05:00
socket_offload_ops.h doc: fix docs, include, and Kconfig misspellings 2019-02-28 09:32:12 +01:00
socket_offload.h net: sockets: move fcntl back to socket_offload.c 2019-03-20 11:36:18 -05:00
socket_select.h net: sockets: Add docstrings for BSD Sockets API 2019-04-04 17:30:28 +08:00
socket.h net: sockets: implement getsockname function 2019-05-17 22:49:32 +03:00
socketutils.h net: socketutils: Add utils to manipulate network address strings 2019-05-10 13:44:32 +03:00
socks.h net: Add initial SOCKS5 support 2019-02-08 14:20:44 +02:00
tls_credentials.h net: tls: Add credential type documentation 2019-03-26 07:30:57 -05:00
trickle.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
udp.h doc: net: Hide UDP API documentation 2019-02-21 16:37:43 -05:00
wifi_mgmt.h net: wifi: Add Access Point mode interface 2019-01-19 07:20:36 -05:00
wifi.h