<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/NetworkPkg/ArpDxe, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-02-23T21:01:28+00:00</updated>
<entry>
<title>NetworkPkg: Replace include guards with #pragma once</title>
<updated>2026-02-23T21:01:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-03T19:03:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=58de02af29a72b58ddc68893ecaf0927682e4164'/>
<id>urn:sha1:58de02af29a72b58ddc68893ecaf0927682e4164</id>
<content type='text'>
Replace traditional `#ifndef`/`#define`/`#endif` include guards with
`#pragma` once.

`#pragma once` is a widely supported preprocessor directive that
prevents header files from being included multiple times. It is
supported by all toolchains used to build edk2: GCC, Clang/LLVM, and
MSVC.

Compared to macro-based include guards, `#pragma once`:

- Eliminates the risk of macro name collisions or copy/paste errors
  where two headers inadvertently use the same guard macro.
- Eliminate inconsistency in the way include guard macros are named
  (e.g., some files use `__FILE_H__`, others use `FILE_H_`, etc.).
- Reduces boilerplate (three lines replaced by one).
- Avoids polluting the macro namespace with guard symbols.
- Can improve build times as the preprocessor can skip re-opening the
  file entirely, rather than re-reading it to find the matching
  `#endif` ("multiple-include optimization").
  - Note that some compilers may already optimize traditional include
    guards, by recognzining the idiomatic pattern.

This change is made acknowledging that overall portability of the
code will technically be reduced, as `#pragma once` is not part of the
C/C++ standards.

However, this is considered acceptable given:

1. edk2 already defines a subset of supported compilers in
   BaseTools/Conf/tools_def.template, all of which have supported
   `#pragma once` for over two decades.
2. There have been concerns raised to the project about inconsistent
   include guard naming and potential macro collisions.

Approximate compiler support dates:

- MSVC: Supported since Visual C++ 4.2 (1996)
- GCC: Supported since 3.4 (2004)
  (http://gnu.ist.utl.pt/software/gcc/gcc-3.4/changes.html)
- Clang (LLVM based): Since initial release in 2007

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Apply uncrustify changes</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2021-12-05T22:54:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d1050b9dff1cace252aff86630bfdb59dff5f507'/>
<id>urn:sha1:d1050b9dff1cace252aff86630bfdb59dff5f507</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the NetworkPkg package

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Maciej Rabeda &lt;maciej.rabeda@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Change complex DEBUG_CODE() to DEBUG_CODE_BEGIN/END()</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2021-12-05T22:33:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ed7f7c916840f1e2afff0c5a6fb1161737ad1941'/>
<id>urn:sha1:ed7f7c916840f1e2afff0c5a6fb1161737ad1941</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3767

Update use of DEBUG_CODE(Expression) if Expression is a complex code
block with if/while/for/case statements that use {}.

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Maciej Rabeda &lt;maciej.rabeda@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Change use of EFI_D_* to DEBUG_*</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2021-11-17T03:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c49ca4a29ed6076bc2a8fc443130f98c0ed69eda'/>
<id>urn:sha1:c49ca4a29ed6076bc2a8fc443130f98c0ed69eda</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739

Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines.

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Maciej Rabeda &lt;maciej.rabeda@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/ArpDxe: Recycle invalid ARP packets (CVE-2019-14559)</title>
<updated>2020-02-21T03:01:57+00:00</updated>
<author>
<name>Siyuan Fu</name>
<email>siyuan.fu@intel.com</email>
</author>
<published>2020-02-21T02:14:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1d3215fd24f47eaa4877542a59b4bbf5afc0cfe8'/>
<id>urn:sha1:1d3215fd24f47eaa4877542a59b4bbf5afc0cfe8</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2031

This patch triggers the RecycleEvent for invalid ARP packets.
Prior to this, we would just ignore invalid ARP packets,
and never free them.

Cc: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Cc: Maciej Rabeda &lt;maciej.rabeda@linux.intel.com&gt;
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Signed-off-by: Nicholas Armour &lt;nicholas.armour@intel.com&gt;
Reviewed-by: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/ArpDxe: Fix various typos</title>
<updated>2020-02-10T22:30:07+00:00</updated>
<author>
<name>Antoine Coeur</name>
<email>coeur@gmx.fr</email>
</author>
<published>2020-02-07T01:07:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=8f628f7820f797438ca21eb6bbcef6874bea41fb'/>
<id>urn:sha1:8f628f7820f797438ca21eb6bbcef6874bea41fb</id>
<content type='text'>
Fix various typos in documentation, comments and debug strings.

Cc: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Cc: Maciej Rabeda &lt;maciej.rabeda@intel.com&gt;
Signed-off-by: Antoine Coeur &lt;coeur@gmx.fr&gt;
Reviewed-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Reviewed-by: Maciej Rabeda &lt;maciej.rabeda@linux.intel.com&gt;
Signed-off-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Message-Id: &lt;20200207010831.9046-31-philmd@redhat.com&gt;
[lersek@redhat.com: replace EFI_D_xxx w/ DEBUG_xxx to shut up PatchCheck]
</content>
</entry>
<entry>
<title>NetworkPkg: Remove unnecessary MdeModulePkg/MdeModulePkg.dec dependency in INF</title>
<updated>2019-10-08T01:20:34+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2019-09-17T02:58:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0b73027eb152a509fb5cd5fd1118ad1985ed886e'/>
<id>urn:sha1:0b73027eb152a509fb5cd5fd1118ad1985ed886e</id>
<content type='text'>
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Cc: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
Reviewed-by: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Move Network library header file from MdeModulePkg to NetworkPkg</title>
<updated>2019-05-27T01:25:18+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2019-05-15T12:02:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=07135c12205805fa0ffcc0d0f347c3d4de37188b'/>
<id>urn:sha1:07135c12205805fa0ffcc0d0f347c3d4de37188b</id>
<content type='text'>
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Cc: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Reviewed-by: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Reviewed-by: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Move Network library and drivers from MdeModulePkg to NetworkPkg</title>
<updated>2019-05-27T01:25:18+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2019-05-15T12:02:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4542f8b8135f1f1ee5654e25139be9769e139ddd'/>
<id>urn:sha1:4542f8b8135f1f1ee5654e25139be9769e139ddd</id>
<content type='text'>
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Cc: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Reviewed-by: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Reviewed-by: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
</content>
</entry>
</feed>
