zephyr/subsys/net/ip
Jonas Norling 5f2d038410 net: ipv6: nbr: Add neighbor when responding to NS
A neighbor solicitation packet for an address that is not ours should
not cause the sender to be added to the neighbor cache. See RFC 4861
section 7.2.3.

Add the neighbor to the cache when we have decided to respond to the
NS packet.

Fixes #21869.

Signed-off-by: Jonas Norling <jonas.norling@greeneggs.se>
2020-01-23 21:10:48 +02:00
..
6lo_private.h net: ip: 6lo (IPHC) uncompression rework 2019-07-25 15:19:28 +03:00
6lo.c net: 6lo: Fix memory corruption during uncompression 2020-01-22 11:57:11 -06: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 net: can: Add CAN handling to net_context 2019-02-07 18:08:27 +02:00
CMakeLists.txt headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08: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 net: core: Drop NET_ASSERT_INFO() macro 2020-01-08 14:10:21 +02:00
dhcpv4.h net/dhcpv4: Avoid ifdefs when using net_dhcpv4_init() 2019-04-03 09:32:39 -04:00
icmpv4.c net: icmpv4: Add support for Timestamp and RR 2019-12-16 11:35:24 +02: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 all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
ipv4.c net: icmpv4: Add support for Timestamp and RR 2019-12-16 11:35:24 +02:00
ipv4.h net: icmpv4: Add support for Timestamp and RR 2019-12-16 11:35:24 +02: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: ipv6: nbr: Add neighbor when responding to NS 2020-01-23 21:10:48 +02:00
ipv6.c net: ipv6: Add routing according to interface prefix 2020-01-20 17:22:49 +02:00
ipv6.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
Kconfig net: if: Add option to set ppp as default network if 2020-01-17 06:44:32 -06:00
Kconfig.debug kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.ipv4 net: icmpv4: Add support for Timestamp and RR 2019-12-16 11:35:24 +02:00
Kconfig.ipv6 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mgmt kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stack kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stats kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
nbr.c net: core: Drop NET_ASSERT_INFO() macro 2020-01-08 14:10:21 +02: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: core: Drop NET_ASSERT_INFO() macro 2020-01-08 14:10:21 +02:00
net_core.c net: coap: Add internal init function to seed message_id 2019-10-04 21:22:55 +03:00
net_if.c net: if: Add option to set ppp as default network if 2020-01-17 06:44:32 -06:00
net_mgmt.c coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
net_pkt.c net: ipv4: Add IPv4 options length to net pkt 2019-12-16 11:35:24 +02:00
net_private.h net: context: Document net_context_packet_received() 2019-10-25 14:33:37 +03:00
net_shell.c kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
net_shell.h
net_stats.c net: stats: Add functions to reset the statistics 2019-10-14 16:34:48 +03:00
net_stats.h net: stats: Fix RX traffic class time statistics update 2019-12-18 17:59:54 +02:00
net_tc_mapping.h
net_tc.c
packet_socket.c net: sockets: Add socket api to support AF_PACKET 2019-02-07 14:43:30 +02:00
packet_socket.h net: core: Handle packets when packet sockets are enabled 2019-02-07 14:43:30 +02:00
promiscuous.c global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
route.c net: ipv6: Add routing according to interface prefix 2020-01-20 17:22:49 +02:00
route.h net: ipv6: Add routing according to interface prefix 2020-01-20 17:22:49 +02:00
tcp2_priv.h net: tcp2: Support tracking of net_buf_clone() 2020-01-08 14:10:21 +02:00
tcp2.c net: tcp2: Guard on th being NULL in SYN_RECEIVED 2020-01-17 10:24:06 +02:00
tcp2.h net: tcp2: Rename tcp_pkt_received() into tcp_recv() 2020-01-17 10:24:06 +02: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: core: Drop NET_ASSERT_INFO() macro 2020-01-08 14:10:21 +02:00
tp_priv.h net: tp: Add test protocol 2019-10-25 14:33:37 +03:00
tp.c net: tp: Add a support for arbitrary payloads in tp_output() 2020-01-17 10:24:06 +02:00
tp.h net: tcp2: Support tracking of net_buf_clone() 2020-01-08 14:10:21 +02: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: ipv4: Add IPv4 options length to net pkt 2019-12-16 11:35:24 +02:00
utils.c net: ipv4: Add IPv4 options length to net pkt 2019-12-16 11:35:24 +02:00