mirror_edk2/MdeModulePkg/Library/DxeNetLib
Wang Fan cf4a8fa455 MdeModulePkg/DxeNetLib: Add parameter check and ASSERT handling.
* Library API should check the input parameters before use, or
  ASSERT to tell it has to meet some requirements. But in DxeNetLib,
  not all functions follows this rule.
* ASSERT shouldn't be used as error handling, add some handling code
  for errors.
* Add some ASSERT commence in function notes.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
2018-01-04 10:55:14 +08:00
..
DxeNetLib.c MdeModulePkg/DxeNetLib: Add parameter check and ASSERT handling. 2018-01-04 10:55:14 +08:00
DxeNetLib.inf MdeModulePkg/NetLib: Add NetLibDetectMediaWaitTimeout() API to support EFI_NOT_READY media state detection 2017-12-06 13:10:05 +08:00
DxeNetLib.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
NetBuffer.c MdeModulePkg/DxeNetLib: Check the actual packet size before trim data from Nbuf. 2017-09-28 15:36:49 +08:00