zephyr/subsys/net/ip
Marcin Niestroj c00fdcb518 net: context: prevent truncating outgoing datagrams
Datagrams should either be fully sent or not sent at all if networking
buffers or network interface MTU does not allow that. So far the behavior
was to truncate outgoing packets, even for datagram sockets.

When there is not enough available payload buffer to fit all requested
data, fail if that happens for datagram socket.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-06-01 11:17:07 +02:00
..
6lo_private.h
6lo.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
6lo.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
canbus_socket.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
canbus_socket.h
CMakeLists.txt
connection.c net: conn: Add proper processing of DGRAM packet sockets 2022-05-27 15:40:29 -07:00
connection.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
dhcpv4.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
dhcpv4.h
icmpv4.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
icmpv4.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
icmpv6.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
icmpv6.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
igmp.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipv4_autoconf_internal.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipv4_autoconf.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipv4.c net: ipv4: Accept unspecified src address if dst is broadcast 2022-05-27 15:46:44 -07:00
ipv4.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipv6_fragment.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipv6_mld.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipv6_nbr.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipv6.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipv6.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
Kconfig net: tcp: Remove unused config NET_TCP_BACKLOG_SIZE 2022-05-13 13:04:59 +02:00
Kconfig.debug kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.ipv4 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.ipv6 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.mgmt kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.stack
Kconfig.stats
nbr.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
nbr.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_context.c net: context: prevent truncating outgoing datagrams 2022-06-01 11:17:07 +02:00
net_core.c net: conn: Add proper processing of DGRAM packet sockets 2022-05-27 15:40:29 -07:00
net_if.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_mgmt.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_pkt.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_private.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_shell.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_shell.h
net_stats.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_stats.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_tc_mapping.h
net_tc.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net_timeout.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
packet_socket.c net: sockets: packet: Remove obsolete TODO 2022-05-27 15:40:29 -07:00
packet_socket.h
promiscuous.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
route.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
route.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tcp_internal.h net: tcp: Add semaphore indicating if transfer is possible 2022-05-18 11:09:17 +02:00
tcp_private.h net: tcp: Implement persistent timer for sending ZWP 2022-05-18 11:09:17 +02:00
tcp.c net: tcp: Correctly determine when the TCP transmit window is full 2022-05-20 19:24:26 -07:00
tcp.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
tp_priv.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tp.c
tp.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
trickle.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
udp_internal.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
udp.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
utils.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00