[lwIP] code cleanup