FreeBSD/contrib/bsnmp/snmp_mibII/mibII.c
/* find first/next address for a given interface */
find first/next address for a given interface
find first / next address for a given interface
struct mibifa *
mib_first_ififa(const struct mibif *ifp)
{
	struct mibifa *ifa;
	TAILQ_FOREACH(ifa, &mibifa_list, link)
		if (ifp->index == ifa->ifindex)
			return (ifa);
	return (NULL);
}
struct mibifa * mib_first_ififa ( const struct mibif * ifp ) { struct mibifa * ifa ; TAILQ_FOREACH ( ifa , & mibifa_list , link ) if ( ifp -> index == ifa -> ifindex ) return ( ifa ) ; return ( NULL ) ; }
find first/next address for a given interface
find first / next address for a given interface