- hashtable_get_first(usess->channels, &iter);
- while ((node = hashtable_iter_get_node(&iter)) != NULL) {
- uchan = caa_container_of(node, struct ust_app_channel, node);
-
- ret = send_channel_streams(sock, uchan, usess->uid,
- usess->gid);
+ cds_lfht_for_each_entry(usess->channels->ht, &iter.iter, ua_chan,
+ node.node) {
+ ret = send_channel_streams(sock, ua_chan, usess->uid, usess->gid);