added bzero() to every malloc
changed netdev function to divide by 1024 and not 1000