ipv4: Improve performance