// return the next session can be used on the group
sessionidt grp_getnextsession(groupidt g, in_addr_t ip, in_addr_t ip_src)
{
sessionidt s = 0, s2 = 0, s3 = 0;
int i;
uint32_t ltime_changed = 0, mintxrate = 0xFFFFFFFF, maxtxrate = 0;
// return the next session can be used on the group
sessionidt grp_getnextsession(groupidt g, in_addr_t ip, in_addr_t ip_src)
{
sessionidt s = 0, s2 = 0, s3 = 0;
int i;
uint32_t ltime_changed = 0, mintxrate = 0xFFFFFFFF, maxtxrate = 0;