summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/Network
Commit message (Collapse)AuthorAgeFilesLines
* Update HiiConfigAccess.ExtractConfig interface to support NULL request ↵lgao42010-03-043-18/+208
| | | | | | string and ConfigHdr request string. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10180 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct File header to ## @filelgao42010-02-2413-55/+55
| | | | | | 2. Remove unnecessary .common] postfix on section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
* enhanced Dhcp4Dxe module to clean active configure data when Dhcp4->Stop() ↵vanjeff2010-02-232-4/+22
| | | | | | and Dhcp4->Release() called. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10043 6f19259b-4bc3-4df7-8a09-765794883524
* Update SnpDxe to support dynamic media detect.xdu22010-02-123-212/+241
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9994 6f19259b-4bc3-4df7-8a09-765794883524
* Coding style fix and minor improvements.rsun32010-02-112-8/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9977 6f19259b-4bc3-4df7-8a09-765794883524
* Add some security check.xdu22010-02-051-2/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9934 6f19259b-4bc3-4df7-8a09-765794883524
* For network dynamic media support:xdu22010-02-0314-38/+184
| | | | | | | | | | 1. add library function NetLibDetectMedia to NetLib for media detection 2. update MnpDxe to periodically poll for media status update and check for media status before packet transmit 3. update Ip4Dxe to return ModeData using Mnp->GetModeData() 4. update IScsiDxe to check for media status before try to do DHCP and session login 5. update UefiPxeBcDxe to check for media status before PXE start git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9919 6f19259b-4bc3-4df7-8a09-765794883524
* 1. add error handling in case DHCP success but boot request failxdu22010-02-022-0/+8
| | | | | | 2. add UnloadImage to ease debug git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9910 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update the maximum length to 224 in ISCSI_CONFIG_IFR_NVDATA() to store ↵tye12010-02-013-8/+9
| | | | | | | | | | 223 byte name plus one NULL-terminator. 2. Update the minimum length to 4 in VFR file for target/initiator name for requiring prefix “iqn.” 3. Fix the 64bit unalignment exception at IPF due to Rsdt is 32 bit alignment but OemTableId field of Rsdt is UINT64 type. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9896 6f19259b-4bc3-4df7-8a09-765794883524
* Get MaxPacketSize from IP4 mode data and reduce the head size of UDP and ↵ljin62010-02-014-11/+29
| | | | | | MTFTP, and take it as BlockSize to download. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9894 6f19259b-4bc3-4df7-8a09-765794883524
* Remove redundant arch definition in UefiPxeBcDxe.ljin62010-01-286-163/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9851 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed the issue of duplicated SYS_ARCH in MdeModulePkg\UefiPxeBcDxe.ljin62010-01-283-24/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9848 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug in Udp4IcmpHandler, it should not add special checking for Icmp ↵tye12010-01-251-11/+2
| | | | | | message. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9801 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed a bug in Ip4HandleIcmpError, it should pass over the whole ICMP error ↵tye12010-01-251-3/+3
| | | | | | message if user wants. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9800 6f19259b-4bc3-4df7-8a09-765794883524
* 1)Remove “Back to Previous Page'”, since it cannot go back to “Device ↵vanjeff2010-01-086-72/+119
| | | | | | | | | | Manager page. 2)Add Configure item in page. 3)Add more security check when storing IP setting, to correctly sync the operations between Ip4ConfigDxe and ifconfig.efi git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9693 6f19259b-4bc3-4df7-8a09-765794883524
* refine the code and add more security check.vanjeff2010-01-0814-396/+403
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9691 6f19259b-4bc3-4df7-8a09-765794883524
* installing HII config access protocol on child handle instead of installing ↵vanjeff2010-01-049-844/+374
| | | | | | on NIC physical handle, to avoid conflict with the HII config access protocol installed on NIC physical handle. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9665 6f19259b-4bc3-4df7-8a09-765794883524
* Add VLAN support.xdu22009-12-3027-896/+3868
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9649 6f19259b-4bc3-4df7-8a09-765794883524
* Code clean up in NetLib:xdu22009-12-308-25/+29
| | | | | | | | 1. Add GLOBAL_REMOVE_IF_UNREFERENCED to all globals 2. Update NTOHL and NTOHS to be BaseLib func SwapBytes32/SwapBytes16 3. Remove duplicate NET_SWAP_SHORT (to use NTOHS instead) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9648 6f19259b-4bc3-4df7-8a09-765794883524
* Add check before free DevicePath (TCP child sock will have no device path ↵xdu22009-12-251-7/+9
| | | | | | installed) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9617 6f19259b-4bc3-4df7-8a09-765794883524
* Refine the functions headers.vanjeff2009-12-175-56/+56
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9576 6f19259b-4bc3-4df7-8a09-765794883524
* The functionality of PXE Base Code protocol will not be stopped, when ↵vanjeff2009-12-041-1/+4
| | | | | | downloading is successfully. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9512 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed the bug that not to stop PXE functionality when PXE meeting some ↵vanjeff2009-11-252-0/+10
| | | | | | failure. And enhanced DriverBindingStop() to stop PXE functionality if PXE was still alive. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9478 6f19259b-4bc3-4df7-8a09-765794883524
* Update network drivers to use FreePool() instead of gBS->FreePool().xdu22009-11-1342-192/+192
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9424 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add Link MTU support to IP4 and TCP4 driver.tye2009-11-1113-21/+386
| | | | | | | | | | 2. Integrate IPsec functionality to IP4 driver. 3. Move IP_VERSION_4/IP_VERSION_6 definition from IpIoLib to NetLib. 4. Move the Ip6/Udp6 protocol declaration from driver INF to Library INF (DxeIpIoLib and DxeUdpIoLib) for better readability. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9413 6f19259b-4bc3-4df7-8a09-765794883524
* [Change summary]:tye2009-11-0449-808/+749
| | | | | | | | | | | | | | | | | | | | | | | 1. Update NetLib to a combined NetLib support dual network stack: 1) Add Network Debug facility for IPv4 stack. 2) Extend the library APIs to support IPv6 stack: a. NetIp6IsUnspecifiedAddr b. NetIp6IsLinkLocalAddr c. NetIp6IsNetEqual d. NetLibCreateIPv6DPathNode. e. NetIp6PseudoHeadChecksum f. NetIp6IsValidUnicast 3) Update the structure definitions: a. Update NET_BUF to add EFI_IP6_HEADER and EFI_UDP_HEADER b. Add NET_IP6_PSEUDO_HDR 4) Update Ip4IsUnicast to NetIp4IsUnicast 2. Update the impacted modules to adopt the combined NetLib. 3. Clean up coding style errors in all network drivers and libraries. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9391 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update the UdpIo to a combined UdpIo to support both v4 and v6 stack.tye2009-10-3018-144/+172
| | | | | | | | 2. Update Dhcp4 and Mtftp4 driver to adopt the combined UdpIo. 3. Clean up coding style problems in combined IpIoLib/NetLib. Update Tcp4 and Udp4 to adopt the changes. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9382 6f19259b-4bc3-4df7-8a09-765794883524
* NetLib:tye2009-10-2610-63/+92
| | | | | | | | | | | | | | | | | | | | | 1. Add new interface Ip6IsValidUnicast 2. Add new enum IP6_EXTENSION_HEADER_TYPE 3. Add new structure IP6_ICMP_* definitions 4. Update structure from EFI_UDP4_HEADER to EFI_UDP_HEADER 5. Add new macro EFI_IP6_EQUAL IpIoLib: 1. Update the IpIoLib to a combined library for both v4 and v6 network stack 2. Fix a bug in IpIoIcmpHandler() - for IPv6 packet, the header length is variable (basic header + extension) rathar than fixed length. The fix removes the IPv6 header fields and notify the user with the ICMPv6 packet only containing payload. TcpDxe/UdpDxe: 1. Update to adapt the new combined IpIoLib 2. Add gEfiIp6ProtocolGuid/gEfiIp6ServiceBindingProtocolGuid to [Protocols] in INF file since the Ip6.h is included in IpIoLib and NetLib. 3. Pass the TCP4/UDP4 UEFI SCT test on NT32 platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9374 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Fix timer unit bug in MNP: default rx/tx timeout value should be ↵tye2009-10-222-23/+37
| | | | | | | | | 10,000,000 (10s) according to UEFI spec. 2. Enable the mapping from IPv6 multicast address to MAC address in MnpMcastIpToMac(). 3. Remove 2 tabs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9355 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Fix a bug in Dhcp4 to prevent unexpected broadcast DHCP packets be queued ↵tye2009-10-213-11/+24
| | | | | | | | | up in the system: these packets will never be freed and will cumulate as time goes on, and then it will cause the system becomes very slow. This issue is reported by HP. 2. Sync HSD #210249 patch: Fix bug in handling certain network errors in EfiDhcp4TransmitReceive() for DHCP4 driver 3. Enhance DhcpCleanLease to clear Netmask as well, so that Dhcp4->GetModeData() could return clean data in Dhcp4Stopped state. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9354 6f19259b-4bc3-4df7-8a09-765794883524
* fix k8 warning.eric_tian2009-09-141-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9260 6f19259b-4bc3-4df7-8a09-765794883524
* Make end of line consistent caused by previous check in.qhuang82009-08-242-121/+121
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9183 6f19259b-4bc3-4df7-8a09-765794883524
* Integrate the patch contributed by Andrew Fish to port MdeModulePkg to ↵qhuang82009-08-242-96/+121
| | | | | | support ARM. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9174 6f19259b-4bc3-4df7-8a09-765794883524
* Use siaddr in DHCP packet, if zero, use option 54 instead.vanjeff2009-08-142-5/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9066 6f19259b-4bc3-4df7-8a09-765794883524
* 1. update timeout interval time from 10ms to 50msvanjeff2009-08-135-164/+180
| | | | | | 2. refine MnpDxe code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9063 6f19259b-4bc3-4df7-8a09-765794883524
* update include file to use IndustryStandard/Pci.heric_tian2009-08-111-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9036 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed build issue on GCC compiler. This issue is introduced by one mistaken ↵vanjeff2009-07-271-1/+1
| | | | | | in one checking-in on Main trunk only. The patch(MdeModulePkg.patch) for EFI_MTFTP4_TOKEN based on MdePkg release 1.00 has no this issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9009 6f19259b-4bc3-4df7-8a09-765794883524
* Updated EFI_MTFTP4_TOKEN structure to add member Context. It's an ↵vanjeff2009-07-243-21/+13
| | | | | | incompatible change adopted by UEFI group. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9005 6f19259b-4bc3-4df7-8a09-765794883524
* roll back the changes on replace Pcixx.h with Pci.h due to it's NOT in the ↵eric_tian2009-07-241-1/+1
| | | | | | scope of this release. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9002 6f19259b-4bc3-4df7-8a09-765794883524
* if module doesn't explicitly depend on specific Pci spec, it should include ↵eric_tian2009-07-241-1/+1
| | | | | | IndustryStandard/Pci.h rather than Pcixxx.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8996 6f19259b-4bc3-4df7-8a09-765794883524
* fixed ASSERT condition issue.vanjeff2009-07-171-2/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8961 6f19259b-4bc3-4df7-8a09-765794883524
* initial Target byte array with 0xff (all bytes are 0xff in this array)in ↵eric_tian2009-07-151-0/+1
| | | | | | GetTargetLun to consistent with GetNextTargetLun. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8946 6f19259b-4bc3-4df7-8a09-765794883524
* Retire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and ↵mdkinney2009-07-1126-43/+42
| | | | | | DispatchDpc() from the DpcLib instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8897 6f19259b-4bc3-4df7-8a09-765794883524
* 1. remove duplicated NetLibDispatchDpc() calling in Pool function.vanjeff2009-07-106-41/+38
| | | | | | | 2. use mde library 3. add security check. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8860 6f19259b-4bc3-4df7-8a09-765794883524
* add security check.vanjeff2009-07-094-6/+9
| | | | | | update functions comments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8832 6f19259b-4bc3-4df7-8a09-765794883524
* add security check.vanjeff2009-07-088-31/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8819 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance iSCSI ibft table for copy oemid and oemtableID from acpi tables.gikidy2009-07-064-4/+40
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8752 6f19259b-4bc3-4df7-8a09-765794883524
* sync tracker 210250&210253 of R8 into R9, which fix the issue of iSCSI CHAP ↵eric_tian2009-07-013-6/+11
| | | | | | Secret UI allows the minimum number of 13 characters while the spec only requires 12 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8694 6f19259b-4bc3-4df7-8a09-765794883524
* add error handler to pass K8 checkeric_tian2009-06-303-12/+20
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8687 6f19259b-4bc3-4df7-8a09-765794883524
* add security check.vanjeff2009-06-2920-39/+84
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8680 6f19259b-4bc3-4df7-8a09-765794883524