nuttx/net/tcp
Zhe Weng 688f0e9117 net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6
If we only enable one of `CONFIG_NET_ARP_SEND` and
`CONFIG_NET_ICMPv6_NEIGHBOR`, both IPv4 and IPv6 traffic will send
ARP or NDP, which causes problem.

Example:
`CONFIG_NET_ARP_SEND=n`
`CONFIG_NET_ICMPv6_NEIGHBOR=y`

Wrong:
IPv4 traffic (`PF_INET`) goes into `icmpv6_neighbor`, which
definitely causes problem.

Correct:
IPv4 traffic doesn't call anything, IPv6 traffic calls `icmpv6_neighbor`

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-01-09 05:56:28 -08:00
..
CMakeLists.txt cmake:complete missing changes during reforming for net 2023-09-13 21:51:20 +08:00
Kconfig net/tcp: Support initial sequence number described in RFC 6528 2023-11-06 09:04:09 +08:00
Make.defs
tcp_accept.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
tcp_appsend.c
tcp_backlog.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
tcp_callback.c net: Rename tcp_dataconcat to net_iob_concat 2023-07-18 10:51:45 +08:00
tcp_cc.c
tcp_close.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
tcp_conn.c net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
tcp_connect.c net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
tcp_devpoll.c
tcp_dump.c
tcp_finddev.c
tcp_getsockopt.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
tcp_input.c tcp_ofosegs: prepare iob to reset io_offset 2023-09-20 14:32:16 +08:00
tcp_ioctl.c net: Simplify getting value for different domain 2023-11-03 22:23:50 +08:00
tcp_ipselect.c
tcp_listen.c
tcp_monitor.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
tcp_netpoll.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
tcp_notifier.c
tcp_recvfrom.c net: Add msg_peek support for udp and tcp 2023-07-13 19:40:04 +08:00
tcp_recvwindow.c
tcp_send_buffered.c net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
tcp_send_unbuffered.c net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
tcp_send.c ipv6: Fix source address with many addresses in same network 2023-12-13 06:13:25 -08:00
tcp_sendfile.c net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
tcp_seqno.c net/tcp: Support initial sequence number described in RFC 6528 2023-11-06 09:04:09 +08:00
tcp_setsockopt.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
tcp_shutdown.c
tcp_timer.c tcp: fix coverity warning for tcp_timer 2023-09-19 09:37:20 +08:00
tcp_txdrain.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
tcp_wrbuffer.c net/xx/wrbuffer: Do not use SEM_INITIALIZER for buffers 2023-08-25 00:02:07 +08:00
tcp.h net/tcp: Support initial sequence number described in RFC 6528 2023-11-06 09:04:09 +08:00