zephyr/subsys/net/ip
Jukka Rissanen 15dfa28c2e net: tc: Return information whether TX pkt was queued
We need to know whether the net_pkt was successfully placed
to transmit queue. It is possible in TX side, that the net_pkt
is already in TX queue when for example TCP packet is
re-transmitted, in which case the queue submit will fail.
This cannot happen in RX side as there are no timers involved.

It is required to check about such pending flag before trying to submit
it into the queue. Indeed, the work queue could be scheduled right after
such queuing, thus checking for the pending flag afterwards would
provide a false information.

It is unfortunate k_work_submit_to_queue() does not return anything as
it would simplify the code then.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-03-27 14:48:30 +02: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 net: icmpv4: Return ENETUNREACH when IPv4 is unavailable 2020-03-11 13:25:55 -05:00
icmpv4.h
icmpv6.c
icmpv6.h
ipv4_autoconf_internal.h
ipv4_autoconf.c
ipv4.c net: ipv4: Remove temporary interception of TCP, UDP for TCP2 2020-03-11 16:24:52 +02:00
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: tcp2: Eliminate the need for a test send window 2020-03-11 16:24:52 +02:00
net_core.c net: purge NET_STACK and other stack APIs 2020-03-14 13:10:19 -04:00
net_if.c net: iface: Make sure we access valid ll address 2020-03-17 13:13:58 +02:00
net_mgmt.c net: purge NET_STACK and other stack APIs 2020-03-14 13:10:19 -04:00
net_pkt.c net: pkt: Print size of the failed net_buf allocation 2020-03-17 13:13:58 +02:00
net_private.h net: tc: Return information whether TX pkt was queued 2020-03-27 14:48:30 +02:00
net_shell.c net: purge NET_STACK and other stack APIs 2020-03-14 13:10:19 -04:00
net_shell.h
net_stats.c
net_stats.h
net_tc_mapping.h
net_tc.c net: tc: Return information whether TX pkt was queued 2020-03-27 14:48:30 +02:00
packet_socket.c
packet_socket.h
promiscuous.c
route.c
route.h
tcp_internal.h
tcp.c net: tcp: Print information when proper ACK is received 2020-03-17 13:13:58 +02:00
tcp2_priv.h net: tcp2: Add a mutex to TCP connection 2020-03-11 16:24:52 +02:00
tcp2.c net: tcp2: Add a mutex to TCP connection 2020-03-11 16:24:52 +02:00
tcp2.h
tp_priv.h
tp.c net: tcp2: Update test protocol functions 2020-03-11 16:24:52 +02:00
tp.h net: tp: Add IPv6 support for test protocol 2020-03-11 16:24:52 +02:00
trickle.c
udp_internal.h
udp.c
utils.c