zephyr/subsys/net/ip
Jukka Rissanen 207943c2a7 net: pkt: Clone cursor position in net_pkt_clone()
We need to make sure that net_pkt_clone() sets cursor correctly.
This cursor position is needed so that we can skip IP header
for incoming packet properly. Not all applications need to know
the cursor position of the cloned packet. Unfortunately we cannot
know that in advance so just set the cursor to correct position in
the cloned packet.

Fixes #19135

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2019-09-13 16:30:02 +03:00
..
6lo_private.h net: ip: 6lo (IPHC) uncompression rework 2019-07-25 15:19:28 +03:00
6lo.c net: ip: 6lo: Remove unnecessary net_buf allocation and memmove 2019-07-25 15:19:28 +03:00
6lo.h cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
canbus_socket.c net: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
canbus_socket.h
CMakeLists.txt net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
connection.c net: conn: Deliver multicast pkt to all interested parties 2019-09-12 17:33:44 +03:00
connection.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
dhcpv4.c
dhcpv4.h
icmpv4.c cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
icmpv4.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
icmpv6.c cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
icmpv6.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
ipv4_autoconf_internal.h net/ethernet: Cleanup a bit on the usage of ifdefs 2019-07-10 15:24:32 +03:00
ipv4_autoconf.c
ipv4.c net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
ipv4.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
ipv6_fragment.c net: ipv6: Fix fragmentation 2019-07-23 15:40:27 +03:00
ipv6_mld.c net: mgmt: Send event with info when applicaple 2019-07-01 13:50:08 -07:00
ipv6_nbr.c net: ip: ipv6_nbr: Make LLAO length calculation more universal 2019-08-09 15:11:45 +03:00
ipv6.c net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
ipv6.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
Kconfig net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
Kconfig.debug doc: fix docs, include, and Kconfig misspellings 2019-02-28 09:32:12 +01:00
Kconfig.ipv4 net: ipv4: Allow UDP packets with broadcast dst address 2019-05-20 14:11:11 +03:00
Kconfig.ipv6
Kconfig.mgmt tests: net: increase stack size 2019-08-08 13:50:32 -07:00
Kconfig.stack net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
Kconfig.stats net: ppp: Initial support for point-to-point protocol 2019-07-29 10:24:46 +03:00
nbr.c net: nbr: Set the link address type when saving neighbor data 2019-06-13 19:47:31 +03:00
nbr.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
net_context.c net: context: sendmsg: Allow use of connected UDP sockets 2019-08-08 23:13:51 +03:00
net_core.c net: connection: The connection logic was not init properly 2019-06-18 17:58:00 +03:00
net_if.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
net_mgmt.c net: mgmt: Add info length to event wait API 2019-07-01 13:50:08 -07:00
net_pkt.c net: pkt: Clone cursor position in net_pkt_clone() 2019-09-13 16:30:02 +03:00
net_private.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
net_shell.c net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
net_shell.h
net_stats.c
net_stats.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
net_tc_mapping.h
net_tc.c
packet_socket.c
packet_socket.h
promiscuous.c
route.c cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
route.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
tcp_internal.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
tcp.c net: tcp: Accept connections only in LISTENING state 2019-09-10 22:57:48 +03:00
trickle.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
udp_internal.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
udp.c net/udp: Always drop IPv6 UDP packet if checksum field is 0 2019-05-30 13:02:25 +08:00
utils.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00