The pointer returned from rsm_get_topology_data references a rsm_topology_t structure. This structure provides the local node ID and an array of pointers to a connections_t structure for each local controller.
typedef struct rsm_topology { rsm_nodeid_t local_nodeid; uint_t local_cntrl_count; connections_t *connections[1]; } rsm_topology_t;