net/iface_stat: Adds proper variable types, so it is a proper functio…

n declaration