From 686d4d4a86110032ca6d381661fb52f5f3ae7912 Mon Sep 17 00:00:00 2001 From: xdu2 Date: Fri, 21 Jan 2011 05:18:29 +0000 Subject: [PATCH] NetworkPkg: Add IN/OUT modifier. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11262 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Application/IpsecConfig/PolicyEntryOperation.c | 6 +++--- .../Application/IpsecConfig/PolicyEntryOperation.h | 14 +++++++------- NetworkPkg/Application/VConfig/VConfig.c | 4 ++-- NetworkPkg/IpSecDxe/Ikev2/Payload.c | 8 ++++---- NetworkPkg/NetworkPkg.dec | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/NetworkPkg/Application/IpsecConfig/PolicyEntryOperation.c b/NetworkPkg/Application/IpsecConfig/PolicyEntryOperation.c index cc9f0b3121..b50ab7e574 100644 --- a/NetworkPkg/Application/IpsecConfig/PolicyEntryOperation.c +++ b/NetworkPkg/Application/IpsecConfig/PolicyEntryOperation.c @@ -1,7 +1,7 @@ /** @file The implementation of policy entry operation function in IpSecConfig application. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -1517,9 +1517,9 @@ CombineSpdEntry ( EFI_STATUS CombineSadEntry ( IN OUT EFI_IPSEC_SA_ID *OldSaId, - IN OUT EFI_IPSEC_SA_DATA2 *OldData, + IN OUT EFI_IPSEC_SA_DATA2 *OldData, IN EFI_IPSEC_SA_ID *NewSaId, - IN EFI_IPSEC_SA_DATA2 *NewData, + IN EFI_IPSEC_SA_DATA2 *NewData, IN UINT32 Mask, OUT BOOLEAN *CreateNew ) diff --git a/NetworkPkg/Application/IpsecConfig/PolicyEntryOperation.h b/NetworkPkg/Application/IpsecConfig/PolicyEntryOperation.h index 7ae00b2092..4514d2f8d2 100644 --- a/NetworkPkg/Application/IpsecConfig/PolicyEntryOperation.h +++ b/NetworkPkg/Application/IpsecConfig/PolicyEntryOperation.h @@ -1,7 +1,7 @@ /** @file The function declaration of policy entry operation in IpSecConfig application. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -115,12 +115,12 @@ EFI_STATUS typedef EFI_STATUS (* COMBINE_POLICY_ENTRY) ( - EFI_IPSEC_CONFIG_SELECTOR *OldSelector, - VOID *OldData, - EFI_IPSEC_CONFIG_SELECTOR *NewSelector, - VOID *NewData, - UINT32 Mask, - BOOLEAN *CreateNew + IN OUT EFI_IPSEC_CONFIG_SELECTOR *OldSelector, + IN OUT VOID *OldData, + IN EFI_IPSEC_CONFIG_SELECTOR *NewSelector, + IN VOID *NewData, + IN UINT32 Mask, + OUT BOOLEAN *CreateNew ); /** diff --git a/NetworkPkg/Application/VConfig/VConfig.c b/NetworkPkg/Application/VConfig/VConfig.c index c948131ffc..73217580f8 100644 --- a/NetworkPkg/Application/VConfig/VConfig.c +++ b/NetworkPkg/Application/VConfig/VConfig.c @@ -1,7 +1,7 @@ /** @file Shell application for VLAN configuration. - Copyright (C) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (C) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -491,7 +491,7 @@ Exit: **/ VOID DeleteVlan ( - CHAR16 *ParamStr + IN CHAR16 *ParamStr ) { CHAR16 *Name; diff --git a/NetworkPkg/IpSecDxe/Ikev2/Payload.c b/NetworkPkg/IpSecDxe/Ikev2/Payload.c index 0b83617389..438b437aec 100644 --- a/NetworkPkg/IpSecDxe/Ikev2/Payload.c +++ b/NetworkPkg/IpSecDxe/Ikev2/Payload.c @@ -1577,8 +1577,8 @@ ClearAllPayloads ( **/ IKEV2_SA* Ikev2EncodeSa ( - IKEV2_SESSION_COMMON *SessionCommon, - IKEV2_SA_DATA *SaData + IN IKEV2_SESSION_COMMON *SessionCommon, + IN IKEV2_SA_DATA *SaData ) { IKEV2_SA *Sa; @@ -1730,8 +1730,8 @@ Ikev2EncodeSa ( **/ IKEV2_SA_DATA * Ikev2DecodeSa ( - IKEV2_SESSION_COMMON *SessionCommon, - IKEV2_SA *Sa + IN IKEV2_SESSION_COMMON *SessionCommon, + IN IKEV2_SA *Sa ) { IKEV2_SA_DATA *SaData; diff --git a/NetworkPkg/NetworkPkg.dec b/NetworkPkg/NetworkPkg.dec index dea4df43f0..5c331cd7a6 100644 --- a/NetworkPkg/NetworkPkg.dec +++ b/NetworkPkg/NetworkPkg.dec @@ -20,7 +20,7 @@ PACKAGE_GUID = 947988BE-8D5C-471a-893D-AD181C46BEBB PACKAGE_VERSION = 0.92 [Guids] - ## LocalNetwork package token space guid + ## Network package token space guid. # Include/Guid/NetworkPkgTokenSpace.h gEfiNetworkPkgTokenSpaceGuid = { 0x40e064b2, 0x0ae0, 0x48b1, { 0xa0, 0x7d, 0xf8, 0xcf, 0x1e, 0x1a, 0x23, 0x10}} -- 2.39.2