zephyr/subsys/net/lib
Tomasz Bursztyka 024a7e0502 net/sockets: Adapt net_pkt_get_src_addr to new net_pkt API
This function is only used in sockets, thus making it a private function
of socket library and renaming it relevantly.

Note that sockets should be reviewed at some point to avoid using such
function: zsock_received_cb() already get the ip header and the protocol
header, so it could grab the src addr/port from there. It would be way
more optimized to do so, since net_pkt_get_src_addr is costly as it
parses all over again the ip/protocol headers.

utils unit test is updated and the test of the former
net_pkt_get_src_addr/net_pkt_get_dst_addr are removed.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2019-02-12 20:24:02 -05:00
..
coap net: coap: Remove legacy CoAP implementation 2019-02-04 16:49:59 -05:00
config net: Remove net_app references from the code 2019-02-01 19:05:56 -05:00
dns net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
http net: http: Remove HTTP client and server APIs 2019-01-25 11:21:20 -05:00
lwm2m net: lwm2m: fix connection handling in RD client 2019-02-06 18:52:31 -05:00
mqtt net: mqtt: Add SOCKS5 proxy support 2019-02-08 14:20:44 +02:00
openthread openthread: Convert FLASH_ERASE_BLOCK_SIZE to DT_ 2019-02-08 22:39:07 -06:00
sntp net: Remove net_app references from the code 2019-02-01 19:05:56 -05:00
sockets net/sockets: Adapt net_pkt_get_src_addr to new net_pkt API 2019-02-12 20:24:02 -05:00
socks net: Add initial SOCKS5 support 2019-02-08 14:20:44 +02:00
tls_credentials drivers: wifi: simplelink: Implement setsockopt() for TLS offload 2018-11-23 09:16:21 -05:00
CMakeLists.txt net: lib: Remove CONFIG_HTTP reference 2019-02-11 22:29:58 -05:00
Kconfig net: Add initial SOCKS5 support 2019-02-08 14:20:44 +02:00