zephyr/subsys/net/ip
Jukka Rissanen 7c23c47c0e net: tcp2: Avoid extra memory allocation in endpoint cmp
In tcp_endpoint_cmd() we allocate and then almost immediately
destroy the allocated endpoint. This is quite inefficient so
use a endpoint from stack in the compare.

Separate endpoint allocation from value setting so the caller
can decide how the endpoint union values are set.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2020-04-19 11:10:37 +03:00
..
6lo_private.h
6lo.c
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt
connection.c
connection.h
dhcpv4.c
dhcpv4.h
icmpv4.c
icmpv4.h
icmpv6.c
icmpv6.h
ipv4_autoconf_internal.h
ipv4_autoconf.c
ipv4.c
ipv4.h
ipv6_fragment.c
ipv6_mld.c
ipv6_nbr.c
ipv6.c
ipv6.h
Kconfig
Kconfig.debug
Kconfig.ipv4
Kconfig.ipv6
Kconfig.mgmt
Kconfig.stack
Kconfig.stats
nbr.c
nbr.h
net_context.c
net_core.c
net_if.c
net_mgmt.c
net_pkt.c
net_private.h
net_shell.c
net_shell.h
net_stats.c
net_stats.h
net_tc_mapping.h
net_tc.c
packet_socket.c
packet_socket.h
promiscuous.c
route.c
route.h
tcp_internal.h
tcp.c
tcp2_priv.h
tcp2.c
tcp2.h
tp_priv.h
tp.c
tp.h
trickle.c
udp_internal.h
udp.c
utils.c