nuttx/net/icmpv6
Sakari Kapanen d0f72617ef From b7b1826930c7da10416bceebce5d63dc8e4086ca Mon Sep 17 00:00:00 2001
From: Sakari Kapanen <sakari.kapanen@optofidelity.com>
Date: Sun, 24 Sep 2017 13:19:25 +0300
Subject: [PATCH] ICMPv6: fix router advertisement

Fixes several errors preventing icmpv6_radvertise.c from being compiled. Fixes conversions to network byte order (namely vlifetime, plifetime, mtu).

IPv6 source address is set to link-local IP address instead of the address in the netdev structure. This is in compliance to RFC 4861. RA didn't work on Linux before this change.

Finally, router prefix and prefix length are derived from the IPv6 address and netmask in the netdev structure. This seems to make more sense than using a predefined, separate prefix from the config.
2017-09-24 06:33:05 -06:00
..
icmpv6_advertise.c Remove CONFIG_NET_MULTILINK. This increases code size by a little, but greatly reduces the complexity of the network code. 2017-08-08 15:26:09 -06:00
icmpv6_autoconfig.c Networking: Clean up some naming that has bothered me for a long time... There are no interrupts and no interrupt handlers in the network. There are events and event handler (there used to to be interrupt logic in there years ago but that is long, long gone). 2017-08-29 14:08:04 -06:00
icmpv6_input.c Networking: A little more wording changes related to interrupts vs. events 2017-08-29 15:08:38 -06:00
icmpv6_neighbor.c Networking: Clean up some naming that has bothered me for a long time... There are no interrupts and no interrupt handlers in the network. There are events and event handler (there used to to be interrupt logic in there years ago but that is long, long gone). 2017-08-29 14:08:04 -06:00
icmpv6_notify.c Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
icmpv6_ping.c Networking: A little more wording changes related to interrupts vs. events 2017-08-29 15:08:38 -06:00
icmpv6_poll.c Networking: A little more wording changes related to interrupts vs. events 2017-08-29 15:08:38 -06:00
icmpv6_radvertise.c From b7b1826930c7da10416bceebce5d63dc8e4086ca Mon Sep 17 00:00:00 2001 2017-09-24 06:33:05 -06:00
icmpv6_rnotify.c Remove CONFIG_NETDEV_MULTINIC. This increases code size by a little, but greatly reduces the complexity of the network code. 2017-08-08 14:24:12 -06:00
icmpv6_rsolicit.c Remove CONFIG_NET_MULTILINK. This increases code size by a little, but greatly reduces the complexity of the network code. 2017-08-08 15:26:09 -06:00
icmpv6_solicit.c Remove CONFIG_NET_MULTILINK. This increases code size by a little, but greatly reduces the complexity of the network code. 2017-08-08 15:26:09 -06:00
icmpv6.h Networking: A little more wording changes related to interrupts vs. events 2017-08-29 15:08:38 -06:00
Kconfig Remove CONFIG_NET_PINGADDRCONF. This was a uIP way of assigning IP addresses, but is not standard and not a appropriate feature in general. 2015-12-01 07:48:56 -06:00
Make.defs IP forwarding: Major rearchitecting of the outgoing portion of the IP forwarding logic necessary into to properly received device-related forwarding events. 2017-07-07 20:19:26 -06:00