phys_byname
extern struct physical_interface *phys_byname(const char *);
if ((phyi = phys_byname(name)) == NULL)