const sockaddr_u *);
static int cmp_addr_distance(const sockaddr_u *,
const sockaddr_u *);
-static struct interface *getinterface (sockaddr_u *, int);
static struct interface *findlocalinterface (sockaddr_u *, int, int);
static struct interface *findclosestinterface (sockaddr_u *, int);
static struct interface *findlocalcastinterface (sockaddr_u *);
* fetch an interface structure the matches the
* address and has the given flags NOT set
*/
-static struct interface *
+struct interface *
getinterface(
sockaddr_u * addr,
int flags