diff options
Diffstat (limited to 'MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Igmp.h')
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Igmp.h | 46 |
1 files changed, 18 insertions, 28 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Igmp.h b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Igmp.h index 7dd7574..b82d3cc 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Igmp.h +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Igmp.h @@ -1,6 +1,6 @@ /** @file
-Copyright (c) 2005 - 2006, Intel Corporation
+Copyright (c) 2005 - 2006, Intel Corporation.<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -9,14 +9,6 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-Module Name:
-
- Ip4Igmp.h
-
-Abstract:
-
-
**/
#ifndef __EFI_IP4_IGMP_H__
@@ -73,7 +65,7 @@ typedef enum { Init the IGMP control data of the IP4 service instance, configure
MNP to receive ALL SYSTEM multicast.
- @param IpSb The IP4 service whose IGMP is to be initialized.
+ @param[in, out] IpSb The IP4 service whose IGMP is to be initialized.
@retval EFI_SUCCESS IGMP of the IpSb is successfully initialized.
@retval EFI_OUT_OF_RESOURCES Failed to allocate resource to initialize IGMP.
@@ -88,8 +80,8 @@ Ip4InitIgmp ( /**
Join the multicast group on behalf of this IP4 child
- @param IpInstance The IP4 child that wants to join the group
- @param Address The group to join
+ @param[in] IpInstance The IP4 child that wants to join the group
+ @param[in] Address The group to join
@retval EFI_SUCCESS Successfully join the multicast group
@retval EFI_OUT_OF_RESOURCES Failed to allocate resources
@@ -105,9 +97,9 @@ Ip4JoinGroup ( /**
Leave the IP4 multicast group on behalf of IpInstance.
- @param IpInstance The IP4 child that wants to leave the group
+ @param[in] IpInstance The IP4 child that wants to leave the group
address
- @param Address The group address to leave
+ @param[in] Address The group address to leave
@retval EFI_NOT_FOUND The IP4 service instance isn't in the group
@retval EFI_SUCCESS Successfully leave the multicast group.
@@ -123,9 +115,9 @@ Ip4LeaveGroup ( /**
Handle the received IGMP message for the IP4 service instance.
- @param IpSb The IP4 service instance that received the message
- @param Head The IP4 header of the received message
- @param Packet The IGMP message, without IP4 header
+ @param[in] IpSb The IP4 service instance that received the message
+ @param[in] Head The IP4 header of the received message
+ @param[in] Packet The IGMP message, without IP4 header
@retval EFI_INVALID_PARAMETER The IGMP message is malformated.
@retval EFI_SUCCESS The IGMP message is successfully processed.
@@ -146,9 +138,7 @@ Ip4IgmpHandle ( 2. Decrease the report timer for each IGMP group in "delaying
member" state.
- @param IpSb The IP4 service instance that is ticking
-
- @return None
+ @param[in] IpSb The IP4 service instance that is ticking
**/
VOID
@@ -163,9 +153,9 @@ Ip4IgmpTicking ( assume the byte order of the both Source and Addr, the
network byte order is used by the caller.
- @param Source The array of group addresses to add to
- @param Count The number of group addresses in the Source
- @param Addr The IP4 multicast address to add
+ @param[in] Source The array of group addresses to add to
+ @param[in] Count The number of group addresses in the Source
+ @param[in] Addr The IP4 multicast address to add
@return NULL if failed to allocate memory for the new groups,
otherwise the new combined group addresses.
@@ -184,9 +174,9 @@ Ip4CombineGroups ( both Groups and Addr, the network byte order is used by
the caller.
- @param Groups The array of group addresses to remove from
- @param Count The number of group addresses in the Groups
- @param Addr The IP4 multicast address to remove
+ @param Groups The array of group addresses to remove from
+ @param Count The number of group addresses in the Groups
+ @param Addr The IP4 multicast address to remove
@return The nubmer of group addresses in the Groups after remove.
It is Count if the Addr isn't in the Groups.
@@ -203,8 +193,8 @@ Ip4RemoveGroupAddr ( Find the IGMP_GROUP structure which contains the status of multicast
group Address in this IGMP control block
- @param IgmpCtrl The IGMP control block to search from
- @param Address The multicast address to search
+ @param[in] IgmpCtrl The IGMP control block to search from
+ @param[in] Address The multicast address to search
@return NULL if the multicast address isn't in the IGMP control block. Otherwise
the point to the IGMP_GROUP which contains the status of multicast group
|