Searched refs:ifnet (Results 1 – 2 of 2) sorted by relevance
1805 struct ifnet ifnet; in get_dlpi_ppa() local1806 char if_name[sizeof(ifnet.if_name) + 1]; in get_dlpi_ppa()1833 for (; addr != NULL; addr = ifnet.if_next) { in get_dlpi_ppa()1835 &ifnet, sizeof(ifnet), ebuf) < 0 || in get_dlpi_ppa()1836 dlpi_kread(kd, (off_t)ifnet.if_name, in get_dlpi_ppa()1837 if_name, sizeof(ifnet.if_name), ebuf) < 0) { in get_dlpi_ppa()1841 if_name[sizeof(ifnet.if_name)] = '\0'; in get_dlpi_ppa()1842 if (strcmp(if_name, ifname) == 0 && ifnet.if_unit == unit) in get_dlpi_ppa()1843 return (ifnet.if_index); in get_dlpi_ppa()
147 based on the ifnet "index" number. Under HP-UX 9, it is necessary to