Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements the UEFI TCPv4 protocol, building upon #1130. As-is, the code performs well in a custom bootloader.
Overview
This implementation adds support for the
EFI_TCP4_PROTOCOL
andEFI_TCP4_SERVICE_BINDING_PROTOCOL
as defined in the UEFI specification (Section 28.1). It enables UEFI applications to establish TCP connections, transmit and receive data over the network.Changes
uefi-raw
Closed
,Listen
,SynSent
,Established
, etc.)uefi
Tcpv4ServiceBinding
for creating TCP protocol instancesTcpv4
protocol wrapper with higher-level APIreceive_exact()
for reading exact byte countsKey Features
Connection Modes: Support for both client and server TCP connections
Async Operations: All I/O operations wrap async operations in high-level sync interface
DHCP Integration: Automatic retry logic when DHCP is still configuring the network
NO_MAPPING
status during network initializationExample Usage
Current Limitations
UnmodelledPtr
(implementation pending)UnmodelledPtr
(implementation pending)Future Work
accept
) implementation (low priority)Checklist
Closes #1130