d1050b9dff
NetworkPkg: Apply uncrustify changes
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the NetworkPkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com >
2021-12-07 17:24:28 +00:00
8874fa199d
NetworkPkg: Change OPTIONAL keyword usage style
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760
Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael Kubacki <michael.kubacki@microsoft.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com >
2021-12-07 17:24:28 +00:00
5add2c5577
NetworkPkg/UefiPxeBcDxe: Fix various typos
...
Fix various typos in comments and documentation.
Cc: Jiaxin Wu <jiaxin.wu@intel.com >
Cc: Siyuan Fu <siyuan.fu@intel.com >
Cc: Maciej Rabeda <maciej.rabeda@intel.com >
Signed-off-by: Antoine Coeur <coeur@gmx.fr >
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com >
Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com >
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com >
Message-Id: <20200207010831.9046-53-philmd@redhat.com >
2020-02-10 22:30:07 +00:00
ecf98fbcf8
NetworkPkg: Replace BSD License with BSD+Patent License
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1373
Replace BSD 2-Clause License with BSD+Patent License. This change is
based on the following emails:
https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html
RFCs with detailed process for the license change:
V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com >
2019-04-09 10:58:15 -07:00
f75a7f568e
NetworkPkg: Clean up source files
...
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
2018-06-28 11:19:49 +08:00
f8e13a24b7
NetworkPkg/UefiPxeBcDxe: Allow the NULL configuration for NewStationIP/NewSubnetMask
...
According the UEFI Spec for PxeBc.SetStationIP():
If NewStationIP is NULL, then the current IP address will not be modified.
...
If NewSubnetMask is NULL, then the current subnet mask will not be modified.
Currently, EfiPxeBcSetStationIP() doesn't comply with UEFI Spec. This patch is
to fix the issue.
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
2017-12-15 08:47:04 +08:00
e895641ba9
NetworkPkg: Update PXE driver to follow edk2 coding standards.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Samer El-Haj-Mahmoud <smahmoud@lenovo.com >
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com >
Reviewed-by: Zhang Lubo <lubo.zhang@intel.com >
2016-07-12 08:50:36 +08:00
6f2f4116eb
NetworkPkg: Do not use hard coded TTL/ToS in PXE driver.
...
EFI_PXE_BASE_CODE_PROTOCOL has interface to set the TTL and ToS value, but
not used by the UdpWrite() interface. The code always use a hard coded 16
for the TTL and 0 for ToS.
This patch update the UpdWrite() to use the TTL and ToS which have been set
by the SetParameters().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com >
Reviewed-By: Samer El-Haj-Mahmoud <elhaj@hpe.com >
2016-05-05 09:08:24 +08:00
c960bdc2dc
NetworkPkg:Replace unsafe string functions.
...
Replace unsafe string functions with new added safe string functions.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17887 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-08 12:17:11 +00:00
0e7f6f50cc
Fix typo in function name PxeBcFlushStaionIp which should be PxeBcFlushStationIp.
...
Signed-off-by: Mauro Faccenda <faccenda@gmail.com >
Reviewed-by: Ye, Ting <ting.ye@intel.com >
Reviewed-by: Fu, Siyuan <siyuan.fu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15480 6f19259b-4bc3-4df7-8a09-765794883524
2014-04-23 06:25:52 +00:00
216f79703b
1. Add EFI_COMPONENT_NAME2_PROTOCOL.GetControllerName() support.
...
2. Fix the driver binding Stop() hang issue in the network stack.
3. Add Ip4 raw data support.
4. Add iSCSI Dhcp option 60 support.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13995 6f19259b-4bc3-4df7-8a09-765794883524
2012-12-13 06:47:06 +00:00
f43b7a5412
Refine file comments to follow coding style.
...
Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12188 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24 05:40:11 +00:00
129b8b096f
1. Fix bugs for PXE-IPv6 to accommodate the situation:
...
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
2011-08-12 06:18:29 +00:00
19ddbb2587
1. Update NetworkPkg\PXE driver to consume netlib library function NetLibGetSystemGuid()
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12019 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-14 11:32:19 +00:00
76389e18c0
NetworkPkg: comments clean up.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11263 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-21 08:00:22 +00:00
a3bcde70e6
Add NetworkPkg (P.UDK2010.UP3.Network.P1)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10986 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-01 06:13:54 +00:00