/* The heartbeat timer of MLD module. It sends out a solicited MLD report when DelayTimer expires. */
VOID Ip6MldTimerTicking(IN IP6_SERVICE *IpSb)
/* The heartbeat timer of MLD module. It sends out a solicited MLD report when DelayTimer expires. */
VOID Ip6MldTimerTicking(IN IP6_SERVICE *IpSb)
{
  IP6_MLD_GROUP  *Group;
  LIST_ENTRY     *Entry;
  NET_LIST_FOR_EACH (Entry, &IpSb->MldCtrl.Groups) {
    Group = NET_LIST_USER_STRUCT (Entry, IP6_MLD_GROUP, Link);
    if ((Group->DelayTimer > 0) && (--Group->DelayTimer == 0)) {
      Ip6SendMldReport (IpSb, NULL, &Group->Address);
    }
  }
}