summaryrefslogtreecommitdiffstats
path: root/NetworkPkg
Commit message (Collapse)AuthorAgeFilesLines
* Correct inconsistent information in IpsecConfig.efi help report.qianouyang2011-09-291-0/+0
| | | | | | | Signed-off-by: qianouyang Reviewed-by: jyao1 zhangchaointel git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12475 6f19259b-4bc3-4df7-8a09-765794883524
* Before decrypting the packet, Ipsec will check if the inbound protected ↵qianouyang2011-09-281-11/+37
| | | | | | | | | packet is mal-format. If yes, discard it. Signed-off-by: qianouyang Reviewed-by: zhangchaointel jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12464 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up the private GUID definition in module Level.lgao42011-09-1823-100/+110
| | | | | | | | | | | | | 0. Remove the unused private GUID from module source files. 1. Use gEfiCallerIdGuid replace of the private module GUID. 2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver. Signed-off-by: lgao4 Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1 ftian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12376 6f19259b-4bc3-4df7-8a09-765794883524
* Update the Ip6Dxe and IScsiDxe to keep the old behaviors after add exit ↵ydong102011-09-163-9/+9
| | | | | | | | | | action when Config_Access_Protocol.CallBack function returns Submit or Reset which is follow UEFI spec 2.3.1. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12364 6f19259b-4bc3-4df7-8a09-765794883524
* NetworkPkg/UefiPxeBcDxe: Fix GCC build issuejljusten2011-09-101-5/+5
| | | | | | | | | | | The call to AsciiStrStr on line 330 requires a CHAR8* input, and since strings are being parsed, CHAR8* is more appropriate for BootFileName and BootFileNamePtr. Signed-off-by: jljusten Reviewed-by: lgrosenb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12321 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Support netboot6 tftp URL format like ↵sfu52011-09-092-25/+98
| | | | | | | | | | | | tftp://[aaaa::bbbb]/myfile.efi;mode=octet, other mode is rejected. 2. Fix bug in PXE driver UdpRead function to handle the IP fragmentation. Signed-off-by: sfu5 Reviewed-by: xdu2 Reviewed-by: hhuan13 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12308 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug for UefiPxeBcDxe driver to catch the return status.sfu52011-09-011-1/+7
| | | | | | | | Signed-off-by: sfu5 Reviewed-by: hhuan13 Reviewed-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12253 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update iSCSI UI to be more user-friendly.tye12011-08-316-173/+181
| | | | | | | | | | | | 2. Fix potential memory leak issue in IScsiConfig.c. Signed-off-by: tye Reviewed-by: xdu2 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12245 6f19259b-4bc3-4df7-8a09-765794883524
* Remove out of date copyright from command help info.tye12011-08-312-0/+0
| | | | | | | | | | Signed-off-by: tye Reviewed-by: jcarsey Reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12244 6f19259b-4bc3-4df7-8a09-765794883524
* Update to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus ↵tye12011-08-244-149/+169
| | | | | | | | | | able to function properly in UEFI2.1 platform. Signed-off-by: tye1 Reviewed-by: lgao4 Reviewed-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12198 6f19259b-4bc3-4df7-8a09-765794883524
* Remove CONST modifier to be spec complianceerictian2011-08-243-19/+19
| | | | | | | Signed-off-by: erictian Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12195 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Refine the error handling when the PXE-v4 DHCP offer isn't validhhuan132011-08-243-1/+8
| | | | | | | Signed-off-by: hhuan13 Reviewed-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12192 6f19259b-4bc3-4df7-8a09-765794883524
* Refine file comments to follow coding style.ydong102011-08-242-2/+2
| | | | | | Signed-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12188 6f19259b-4bc3-4df7-8a09-765794883524
* Add IScsiDxe driver to NetworkPkg in order to support iSCSI over IPv6 stack ↵tye12011-08-1726-1/+14300
| | | | | | | | | | | and iSCSI MPIO. Signed-off-by: tye1 Reviewed-by: hhuan13 Reviewed-by: eric_tian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12149 6f19259b-4bc3-4df7-8a09-765794883524
* 1.Fix a icc build breakhhuan132011-08-161-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12141 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Enhanced error handling in case PXE DHCP process error happens.hhuan132011-08-121-0/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12123 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Fix bugs for PXE-IPv6 to accommodate the situation: hhuan132011-08-128-28/+352
| | | | | | | | | | | | 1.1 Proxy DHCP6 service and DHCP6 service on different servers. 1.2 Proxy DHCP6 server with Response Delay setting. 2. Update to support percent-encoding in NBP file name in netboot6 BootFileURL. Signed-off-by: hhuan13 Reviewed-by: xdu2, tye git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12122 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Fix a bug : netboot6 client hangs if DHCPv6 Advertisement received ↵hhuan132011-07-181-2/+6
| | | | | | | | | | | without netboot6 info Signed-off-by: hhuan13 Reviewed-by: tye1 Reviewed-by: qianouyang git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12022 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update NetworkPkg\PXE driver to consume netlib library function ↵hhuan132011-07-144-141/+5
| | | | | | NetLibGetSystemGuid() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12019 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update DHCPv6 to use DUID-UUID optionhhuan132011-07-143-44/+91
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12018 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is ↵niruiyu2011-07-0517-38/+38
| | | | | | | | | valid/invalid. Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11979 6f19259b-4bc3-4df7-8a09-765794883524
* 1. In IPv4 and IPv6 driver, before calling IPsec, a new NET_FRAGMENT ↵qianouyang2011-06-142-3/+17
| | | | | | | | | | | | structure is allocated and then passed to IPsec, it should be released after it is done to avoid the memory leak. 2. In IPsec driver it wrongly use the HeadLen to calculate the IP header length after the IPsec process. Correct this mistake. Signed-off-by: qianouyang Reviewed-by: jjin9 Reviewed-by: ZhangCaoIntel git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11824 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate ↵hhuan132011-06-092-53/+116
| | | | | | | | | | unnecessary re-configure UdpRead operation. Reviewed-by: xdu2 Signed-off-by: hhuan13 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11780 6f19259b-4bc3-4df7-8a09-765794883524
* String Reference Cleanup.lzeng142011-06-082-6/+6
| | | | | | | Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11762 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add error handling for PXE-IPV6.hhuan132011-06-011-1/+4
| | | | | | | Signed-off-by: hhuan13 Reviewed-by: tye git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11720 6f19259b-4bc3-4df7-8a09-765794883524
* Update the IPsec driver to check in invalid parameter of ProcessExt() ↵qianouyang2011-05-313-29/+36
| | | | | | | | | according to UEFI Spec. Signed-off-by: qianouyang Reviewed-by: jjin9 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11714 6f19259b-4bc3-4df7-8a09-765794883524
* Refine all R9 call back function to return EFI_UNSUPPORTED for all ↵ydong102011-05-201-98/+105
| | | | | | | | | | unsupported call back type. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11682 6f19259b-4bc3-4df7-8a09-765794883524
* Update the relevant drivers to use the correct GUID for EFI_IPSEC2_PROTOCOL.qianouyang2011-04-208-16/+16
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11576 6f19259b-4bc3-4df7-8a09-765794883524
* NetworkPkg.dsc: ydong102011-04-011-1/+2
| | | | | | | | | | | | 1. Change FileHandleLib instance path. 2. Add SortLib used by ShellLib. Detail: This library instance was renamed from BaseFileHandleLib to UefiFileHandleLib in r11421. The SortLib is added to be use by ShellLib in r11424. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11495 6f19259b-4bc3-4df7-8a09-765794883524
* Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney2011-03-101-1/+2
| | | | | | | | | | | | | adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11371 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug in PxeBcDriver (When disconnect PxeBc driver under shell ↵hhuan132011-02-181-1/+10
| | | | | | environment will cause a exception) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11324 6f19259b-4bc3-4df7-8a09-765794883524
* NetworkPkg: Update the IpsecConfig application to fix the GCC4.5 build issue.qianouyang2011-01-251-5/+6
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11271 6f19259b-4bc3-4df7-8a09-765794883524
* NetworkPkg: comments clean up.xdu22011-01-2119-64/+63
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11263 6f19259b-4bc3-4df7-8a09-765794883524
* NetworkPkg: Add IN/OUT modifier.xdu22011-01-215-17/+17
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11262 6f19259b-4bc3-4df7-8a09-765794883524
* NetworkPkg-IpSecDxe: Remove extra space in function type definition to ↵xdu22011-01-201-13/+13
| | | | | | beautify doxygen output. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11259 6f19259b-4bc3-4df7-8a09-765794883524
* NetworkPkg: Update the IpsecDxe driver related PCDs in NetworkPkg.dec.qianouyang2011-01-203-35/+47
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11258 6f19259b-4bc3-4df7-8a09-765794883524
* NetworkPkg: Update Ipsecconfig Application to print the keys of SAD in ↵qianouyang2011-01-052-30/+52
| | | | | | | | | concise way. If the SAD is set manually, print its keys in Ascci string format. If the SAD is created by IKE, print its keys in Hex format. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11226 6f19259b-4bc3-4df7-8a09-765794883524
* NetworkPkg/IpSecDxe: Add missing EFIAPI for callback functionsjljusten2011-01-034-22/+28
| | | | | | | | Callback functions must always use EFIAPI. GCC 4.4 X64 flagged these mismatches in EFIAPI usage. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11221 6f19259b-4bc3-4df7-8a09-765794883524
* Fix build issue.qianouyang2011-01-012-7/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11220 6f19259b-4bc3-4df7-8a09-765794883524
* Add IPsec/Ikev2 support.qianouyang2010-12-3131-1577/+17737
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11219 6f19259b-4bc3-4df7-8a09-765794883524
* Update Ipsecconfig application.qianouyang2010-12-295-62/+125
| | | | | | | 1. add the support of "--tunnel-dest" and "tunnel-source" parameters. 2. transfer to EFI_IPSEC_SA_DATA2. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11205 6f19259b-4bc3-4df7-8a09-765794883524
* update the comments.ydong102010-12-091-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11141 6f19259b-4bc3-4df7-8a09-765794883524
* Co-work with patch V11137 to refine the Hii menu.ydong102010-12-092-3/+3
| | | | | | 1. Move the Mac address string from the form title to form title help for the driver Ipv6 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11139 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed a bug for OPTION_NII(62) defined in RFC 5970.hhuan132010-12-032-3/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11116 6f19259b-4bc3-4df7-8a09-765794883524
* To align w/ UEFI 2.3 Spec, PXE driver installs PxeBc, LoadFile and SNP ↵hhuan132010-12-012-30/+166
| | | | | | Protocol on IPV4/V6 child handle separately. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11112 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a potential issue in calling Cpu->GetTimerValue (Cpu, 0, &CurrentTick, ↵tye12010-11-182-14/+14
| | | | | | (UINT64 *) &TimerPeriod); git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11076 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed the K9 failure.qianouyang2010-11-171-2/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11073 6f19259b-4bc3-4df7-8a09-765794883524
* Fix PxeBcDhcp6.c comments since official UEFI 2.3 Errata D spec is published.hhuan132010-11-161-3/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11060 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update IPsec driver to produce EFI_IPSEC2_PROTOCOL which is defined by ↵xdu22010-11-0112-248/+364
| | | | | | | | UEFI errata that will appear in UEFI 2.3 specification after 2.3 errata B and future UEFI Specifications after 2.3. 2. Update IPv6 driver to consume the EFI_IPSEC2_PROTOCOL. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10991 6f19259b-4bc3-4df7-8a09-765794883524
* Update ipsecconfig and ping6 due to ShellLib update.xdu22010-11-014-38/+69
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10990 6f19259b-4bc3-4df7-8a09-765794883524