mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
NetworkPkg: Fix typo.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Ting Ye <ting.ye@intel.com> Reviewed-by: Siyuan Fu <siyuan.fu@intel.com> Reviewed-by: Mudusuru Giri P <giri.p.mudusuru@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17049 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
aef8cea9e4
commit
5edac28e83
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
The implementation for Ping6 application.
|
The implementation for Ping6 application.
|
||||||
|
|
||||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
|
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
@ -60,11 +60,11 @@ CONST CHAR16 *mIp6DstString;
|
|||||||
CONST CHAR16 *mIp6SrcString;
|
CONST CHAR16 *mIp6SrcString;
|
||||||
UINT64 mFrequency = 0;
|
UINT64 mFrequency = 0;
|
||||||
/**
|
/**
|
||||||
Get and caculate the frequency in tick/ms.
|
Get and calculate the frequency in tick/ms.
|
||||||
The result is saved in the globle variable mFrequency
|
The result is saved in the globle variable mFrequency
|
||||||
|
|
||||||
@retval EFI_SUCCESS Caculated the frequency successfully.
|
@retval EFI_SUCCESS Calculated the frequency successfully.
|
||||||
@retval Others Failed to caculate the frequency.
|
@retval Others Failed to calculate the frequency.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
@ -102,7 +102,7 @@ Ping6GetFrequency (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get and caculate the duration in ms.
|
Get and calculate the duration in ms.
|
||||||
|
|
||||||
@param[in] Begin The start point of time.
|
@param[in] Begin The start point of time.
|
||||||
@param[in] End The end point of time.
|
@param[in] End The end point of time.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
This file is for Challenge-Handshake Authentication Protocol (CHAP) Configuration.
|
This file is for Challenge-Handshake Authentication Protocol (CHAP) Configuration.
|
||||||
|
|
||||||
Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
#include "IScsiImpl.h"
|
#include "IScsiImpl.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Initator caculates its own expected hash value.
|
Initator calculates its own expected hash value.
|
||||||
|
|
||||||
@param[in] ChapIdentifier iSCSI CHAP identifier sent by authenticator.
|
@param[in] ChapIdentifier iSCSI CHAP identifier sent by authenticator.
|
||||||
@param[in] ChapSecret iSCSI CHAP secret of the authenticator.
|
@param[in] ChapSecret iSCSI CHAP secret of the authenticator.
|
||||||
@ -24,7 +24,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
@param[in] ChallengeLength The length of iSCSI CHAP challenge message.
|
@param[in] ChallengeLength The length of iSCSI CHAP challenge message.
|
||||||
@param[out] ChapResponse The calculation of the expected hash value.
|
@param[out] ChapResponse The calculation of the expected hash value.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The expected hash value was caculatedly successfully.
|
@retval EFI_SUCCESS The expected hash value was calculatedly successfully.
|
||||||
@retval EFI_PROTOCOL_ERROR The length of the secret should be at least the
|
@retval EFI_PROTOCOL_ERROR The length of the secret should be at least the
|
||||||
length of the hash value for the hashing algorithm chosen.
|
length of the hash value for the hashing algorithm chosen.
|
||||||
@retval EFI_PROTOCOL_ERROR MD5 hash operation fail.
|
@retval EFI_PROTOCOL_ERROR MD5 hash operation fail.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
The internal functions and routines to transmit the IP6 packet.
|
The internal functions and routines to transmit the IP6 packet.
|
||||||
|
|
||||||
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
|
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
@ -91,7 +91,7 @@ Ip6CandidateSource (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Caculate how many bits are the same between two IPv6 addresses.
|
Calculate how many bits are the same between two IPv6 addresses.
|
||||||
|
|
||||||
@param[in] AddressA Points to an IPv6 address.
|
@param[in] AddressA Points to an IPv6 address.
|
||||||
@param[in] AddressB Points to another IPv6 address.
|
@param[in] AddressB Points to another IPv6 address.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
The implementation of Payloads Creation.
|
The implementation of Payloads Creation.
|
||||||
|
|
||||||
Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
|
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
@ -1614,7 +1614,7 @@ Ikev2EncodeSa (
|
|||||||
//
|
//
|
||||||
TotalTransforms = 0;
|
TotalTransforms = 0;
|
||||||
//
|
//
|
||||||
// Caculate the Proposal numbers and Transform numbers.
|
// Calculate the Proposal numbers and Transform numbers.
|
||||||
//
|
//
|
||||||
for (ProposalIndex = 0; ProposalIndex < SaData->NumProposals; ProposalIndex++) {
|
for (ProposalIndex = 0; ProposalIndex < SaData->NumProposals; ProposalIndex++) {
|
||||||
|
|
||||||
@ -1777,7 +1777,7 @@ Ikev2DecodeSa (
|
|||||||
Proposal = (IKEV2_PROPOSAL *)((IKEV2_SA *)(Sa)+1);
|
Proposal = (IKEV2_PROPOSAL *)((IKEV2_SA *)(Sa)+1);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Caculate the number of Proposal payload and the total numbers of
|
// Calculate the number of Proposal payload and the total numbers of
|
||||||
// Transforms payload (the transforms in all proposal payload).
|
// Transforms payload (the transforms in all proposal payload).
|
||||||
//
|
//
|
||||||
while (SaRemaining > sizeof (IKEV2_PROPOSAL)) {
|
while (SaRemaining > sizeof (IKEV2_PROPOSAL)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user