Update comments for Protocol definitions to match UEFI spec. And add the missing comments for the data structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6636 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -35,33 +35,112 @@
|
||||
typedef struct _EFI_AUTHENTICATION_INFO_PROTOCOL EFI_AUTHENTICATION_INFO_PROTOCOL;
|
||||
|
||||
typedef struct {
|
||||
///
|
||||
/// Authentication Type GUID.
|
||||
///
|
||||
EFI_GUID Guid;
|
||||
|
||||
///
|
||||
/// Length of this structure in bytes.
|
||||
///
|
||||
UINT16 Length;
|
||||
} AUTH_NODE_HEADER;
|
||||
|
||||
typedef struct {
|
||||
AUTH_NODE_HEADER Header;
|
||||
|
||||
///
|
||||
/// RADIUS Server IPv4 or IPv6 Address
|
||||
///
|
||||
EFI_IPv6_ADDRESS RadiusIpAddr; ///< IPv4 or IPv6 address
|
||||
|
||||
///
|
||||
/// Reserved for future use
|
||||
///
|
||||
UINT16 Reserved;
|
||||
|
||||
///
|
||||
/// Network Access Server IPv4 or IPv6 Address (OPTIONAL)
|
||||
///
|
||||
EFI_IPv6_ADDRESS NasIpAddr; ///< IPv4 or IPv6 address
|
||||
|
||||
///
|
||||
/// Network Access Server Secret Length in bytes (OPTIONAL)
|
||||
///
|
||||
UINT16 NasSecretLength;
|
||||
|
||||
///
|
||||
/// Network Access Server secret (OPTIONAL)
|
||||
///
|
||||
UINT8 *NasSecret;
|
||||
|
||||
///
|
||||
/// CHAP Initiator Secret length in bytes
|
||||
///
|
||||
UINT16 ChapSecretLength;
|
||||
|
||||
///
|
||||
/// CHAP Initiator Secret
|
||||
///
|
||||
UINT8 *ChapSecret;
|
||||
|
||||
///
|
||||
/// CHAP Initiator Name Length in bytes
|
||||
///
|
||||
UINT16 ChapNameLength;
|
||||
|
||||
///
|
||||
/// CHAP Initiator Name
|
||||
///
|
||||
UINT8 *ChapName;
|
||||
} CHAP_RADIUS_AUTH_NODE;
|
||||
|
||||
typedef struct {
|
||||
AUTH_NODE_HEADER Header;
|
||||
|
||||
///
|
||||
/// Reserved for future use
|
||||
///
|
||||
UINT16 Reserved;
|
||||
|
||||
///
|
||||
/// User Secret Length in bytes
|
||||
///
|
||||
UINT16 UserSecretLength;
|
||||
|
||||
///
|
||||
/// User Secret
|
||||
///
|
||||
UINT8 *UserSecret;
|
||||
|
||||
///
|
||||
/// User Name Length in bytes
|
||||
///
|
||||
UINT16 UserNameLength;
|
||||
|
||||
///
|
||||
/// User Name
|
||||
///
|
||||
UINT8 *UserName;
|
||||
|
||||
///
|
||||
/// CHAP Initiator Secret length in bytes
|
||||
///
|
||||
UINT16 ChapSecretLength;
|
||||
|
||||
///
|
||||
/// CHAP Initiator Secret
|
||||
///
|
||||
UINT8 *ChapSecret;
|
||||
|
||||
///
|
||||
/// CHAP Initiator Name Length in bytes
|
||||
///
|
||||
UINT16 ChapNameLength;
|
||||
|
||||
///
|
||||
/// CHAP Initiator Name
|
||||
///
|
||||
UINT8 *ChapName;
|
||||
} CHAP_LOCAL_AUTH_NODE;
|
||||
|
||||
|
Reference in New Issue
Block a user