4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Multicast Listener Discovery support routines.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync are licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync which accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsynctypedef struct {
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync// The status of multicast group. It isn't necessary to maintain
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync// explicit state of host state diagram. A group with finity
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync// DelayTime (less than 0xffffffff) is in "delaying listener" state. otherwise, it is in
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync// "idle listener" state.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsynctypedef struct {
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync// The MLD status. Each IP6 service instance has a MLD_SERVICE_DATA
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync// attached. The Mldv1QuerySeen remember whether the server on this
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync// connected network is v1 or v2.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsynctypedef struct {
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Search a IP6_MLD_GROUP list entry node from a list array.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] IpSb Points to an IP6 service binding instance.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] MulticastAddr The IPv6 multicast address to be searched.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The found IP6_ML_GROUP list entry or NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Init the MLD data of the IP6 service instance, configure
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync MNP to receive ALL SYSTEM multicasts.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] IpSb The IP6 service whose MLD is to be initialized.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_OUT_OF_RESOURCES There are not sufficient resources to complete the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The MLD module successfully initialized.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Join the multicast group on behalf of this IP6 service binding instance.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] IpSb The IP6 service binding instance.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Interface Points to an IP6_INTERFACE structure.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Address The group address to join.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS Successfully joined the multicast group.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_OUT_OF_RESOURCES Failed to allocate resources.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval Others Failed to join the multicast group.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Leave the IP6 multicast group.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] IpSb The IP6 service binding instance.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Address The group address to leave.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_NOT_FOUND The IP6 service instance isn't in the group.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS Successfully left the multicast group.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval Others Failed to leave the multicast group.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Worker function for EfiIp6Groups(). The caller
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync should verify that the parameters are valid.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] IpInstance The IP6 child to change the setting.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] JoinFlag TRUE to join the group, otherwise leave it.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] GroupAddress The target group address. If NULL, leave all
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync the group addresses.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_ALREADY_STARTED Wants to join the group, but is already a member of it.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_OUT_OF_RESOURCES Failed to allocate some resources.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_DEVICE_ERROR Failed to set the group configuraton.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS Successfully updated the group setting.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_NOT_FOUND Tried to leave a group of whom it isn't a member.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Process the Multicast Listener Query message.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] IpSb The IP service that received the packet.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Head The IP head of the MLD query packet.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Packet The content of the MLD query packet with IP head
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The MLD query packet processed successfully.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER The packet is invalid.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval Others Failed to process the packet.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Process the Multicast Listener Report message.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] IpSb The IP service that received the packet.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Head The IP head of the MLD report packet.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Packet The content of the MLD report packet with IP head
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The MLD report packet processed successfully.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER The packet is invalid.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync The heartbeat timer of the MLD module. It sends out solicited MLD report when
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync DelayTimer expires.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] IpSb The IP6 service binding instance.