net/interface: use iota