Changes to integrate with lwip platform.