zephyr/tests
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
..
application_development
benchmarks kernel: Split reschdule & pend into irq/spin lock versions 2019-02-08 14:49:39 -05:00
bluetooth Bluetooth: GATT: Implement Database Hash 2019-02-08 18:07:34 +02:00
boards tests: intel_s1000: use I2C device name directly 2019-02-10 15:06:39 -05:00
booting/stub
cmsis_rtos_v1 tests: set CONFIG_MAX_THREAD_BYTES for a few tests 2019-02-08 07:04:30 -05:00
cmsis_rtos_v2 tests: cmsis_rtos_v2: Join and detach tests 2019-02-08 11:59:38 -05:00
compliance
coverage
crypto
drivers tests: drivers: Add aditional tests for stm32 CAN driver 2019-02-12 09:39:30 -05:00
include
kernel tests: kernel: gen_isr_table: Exclude platforms test isnt valid on 2019-02-12 15:35:29 -05:00
lib tests: convert to use app shared memory 2019-02-08 07:04:30 -05:00
misc tests: util: Add UTIL_LISTIFY tests 2019-02-11 09:28:14 -05:00
net net/sockets: Adapt net_pkt_get_src_addr to new net_pkt API 2019-02-12 20:24:02 -05:00
posix tests: posix: fs: Decrease ramdisk size, increase stack size 2019-02-08 12:07:53 -05:00
shell
subsys tests: subsys: logging: Enable log_core test on nios2 2019-02-12 07:51:50 -05:00
unit
ztest userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
CMakeLists.txt
Kconfig test: Kconfig: Correct HAS_COVERAGE_SUPPORT description 2019-02-11 11:38:15 -06:00