incubator-nuttx/net/icmpv6
Zhe Weng 025430a964 net/icmpv6: Fix icmpv6_reply function
Fix icmpv6_reply logic broken by commit 48311cc61f and 391b501639.

- 48311cc61f "Fix unaligned memory access when creating ICMP Port Unreachable messages"
  - It removed `htonl` function outside `data`, then the byte order may be wrong, so add `htons` back.
- 391b501639 "net: extract l3 header build code into new functions"
  - It mis-removed the `memmove`, and the icmpv6 has no payload copied after this commit.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2022-12-02 15:26:45 +08:00
..
Kconfig net/icmp[v6]: ICMP[v6]_NO_STACK should not depends on NET_IPv4/6 2022-11-20 08:16:20 -03:00
Make.defs
icmpv6.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
icmpv6_advertise.c net: extract l3 header build code into new functions 2022-11-29 18:36:15 +08:00
icmpv6_autoconfig.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
icmpv6_conn.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
icmpv6_input.c net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
icmpv6_ioctl.c net: Align the prototype of sock_intf_s::si_ioctl with file_operations::ioctl 2022-09-06 22:46:37 +08:00
icmpv6_linkipaddr.c
icmpv6_neighbor.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
icmpv6_netpoll.c poll: add poll_notify() api and call it in all drivers 2022-09-26 12:06:32 +08:00
icmpv6_notify.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
icmpv6_poll.c net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
icmpv6_radvertise.c net: extract l3 header build code into new functions 2022-11-29 18:36:15 +08:00
icmpv6_recvmsg.c net/icmp[v6]: destroy nxsem properly 2022-11-21 01:15:48 +08:00
icmpv6_reply.c net/icmpv6: Fix icmpv6_reply function 2022-12-02 15:26:45 +08:00
icmpv6_rnotify.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
icmpv6_rsolicit.c net: extract l3 header build code into new functions 2022-11-29 18:36:15 +08:00
icmpv6_sendmsg.c net: extract l3 header build code into new functions 2022-11-29 18:36:15 +08:00
icmpv6_sockif.c iob: Remove iob_user_e enum and related code 2022-08-15 08:41:20 +03:00
icmpv6_solicit.c net: extract l3 header build code into new functions 2022-11-29 18:36:15 +08:00