1bdd80f8db
The code parsing received net pkt to get source or destination sockaddr repeats multiple times in net_context.c. Eliminate the duplication by net_pkt_get_src_addr() and net_pkt_get_dst_addr() which can handle different internet protocol (i.e. ipv4 or ipv6) and transport protocol (i.e. tcp or udp) Fixes: #4421 Signed-off-by: Aska Wu <aska.wu@linaro.org> |
||
---|---|---|
.. | ||
bluetooth | ||
console | ||
cpp | ||
debug | ||
dfu | ||
disk | ||
fs | ||
logging | ||
net | ||
random | ||
shell | ||
usb | ||
Kconfig | ||
Makefile |