FreeBSD/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c
/*
 * Find a bridge name by the bridge interface system index.
 */
Find a bridge name by the bridge interface system index.
Find a bridge name by the bridge interface system index .
const char *
bridge_if_find_name(uint32_t sysindex)
{
	struct bridge_if *b;
	TAILQ_FOREACH(b, &bridge_ifs, b_if)
		if (b->sysindex == sysindex)
			return (b->bif_name);
	return (NULL);
}
const char * bridge_if_find_name ( uint32_t sysindex ) { struct bridge_if * b ; TAILQ_FOREACH ( b , & bridge_ifs , b_if ) if ( b -> sysindex == sysindex ) return ( b -> bif_name ) ; return ( NULL ) ; }
Find a bridge name by the bridge interface system index.
Find a bridge name by the bridge interface system index .