netif
efinet_match(struct netif *nif, void *machdep_hint)
efinet_probe(struct netif *nif, void *machdep_hint __unused)
struct netif *nif = desc->io_netif;
struct netif *nif = desc->io_netif;
struct netif *nif = desc->io_netif;
efinet_end(struct netif *nif)
static void efinet_end(struct netif *);
static int efinet_match(struct netif *, void *);
static int efinet_probe(struct netif *, void *);
pxe_netif_match(struct netif *nif __unused, void *machdep_hint __unused)
pxe_netif_probe(struct netif *nif __unused, void *machdep_hint __unused)
pxe_netif_end(struct netif *nif __unused)
static int pxe_netif_match(struct netif *nif, void *machdep_hint);
static int pxe_netif_probe(struct netif *nif, void *machdep_hint);
static void pxe_netif_end(struct netif *nif);
struct netif *io_netif;
struct netif *
struct netif cur_if;
static struct netif best_if;
netif_probe(struct netif *nif, void *machdep_hint)
netif_attach(struct netif *nif, struct iodesc *desc, void *machdep_hint)
netif_detach(struct netif *nif)
struct netif *nif = desc->io_netif;
struct netif *nif = desc->io_netif;
struct netif *nif;
netif_match(struct netif *nif, void *machdep_hint)
int (*netif_match)(struct netif *, void *);
int (*netif_probe)(struct netif *, void *);
void (*netif_end)(struct netif *);
struct netif *netif_select(void *);
int netif_probe(struct netif *, void *);
void netif_attach(struct netif *, struct iodesc *, void *);
void netif_detach(struct netif *);
struct ifnet netif;
if (kmemcpy((char *)&netif, (u_long)ptr, sizeof(netif)) == -1)
return strdup(netif.if_xname);
if (kstrncpy(buf, (u_long)netif.if_name, sizeof(buf)) == -1)
if (netif.if_unit < 10)
else if (netif.if_unit < 1000)
else if (netif.if_unit < 10000)
sprintf(buf + strlen(buf), "%d", netif.if_unit % 10000);