get_unit
extern struct ifnet *get_unit(char *, int);
ifp = get_unit(iface, IP_V(ip));
# define GETIFP(x, v) get_unit(x,v)