Refactor ICMPv6 handling slightly in BaseNetDevice.