nuttx/net/udp
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 build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig net/usrsock: Can enable TCP/UDP IP stack with Usrsock enabled 2023-09-21 01:08:11 +08:00
Make.defs
udp_callback.c udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
udp_close.c udp: modify ipv4 multicast to allow different conn to join simultaneously 2023-11-04 17:56:06 +08:00
udp_conn.c net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
udp_devpoll.c net/devif_poll: optimize device buffer alloc in txpoll 2023-01-13 16:41:10 +08:00
udp_finddev.c net: allow icmpv6 and udp to find the dev by the ifindex with s_boundto. 2023-10-11 23:34:01 +08:00
udp_input.c
udp_ioctl.c net: Simplify getting value for different domain 2023-11-03 22:23:50 +08:00
udp_ipselect.c
udp_netpoll.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
udp_notifier.c net/udp: Change conn->readahead to I/O buffer chain 2023-07-18 10:51:45 +08:00
udp_recvfrom.c udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
udp_send.c ipv6: Fix source address with many addresses in same network 2023-12-13 06:13:25 -08:00
udp_sendto_buffered.c net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
udp_sendto_unbuffered.c net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
udp_setsockopt.c
udp_txdrain.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
udp_wrbuffer_dump.c
udp_wrbuffer.c net/xx/wrbuffer: Do not use SEM_INITIALIZER for buffers 2023-08-25 00:02:07 +08:00
udp.h udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00