-
-
Notifications
You must be signed in to change notification settings - Fork 183
uefi: add high-level TCP wrapper #1798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
b692b35 to
e130f46
Compare
|
typically we mark PRs as draft when they wait to be rebased onto another PR - so I marked this PR as draft. Thanks for working on this and splitting this into multiple PRs! |
ebf20de to
dee28f7
Compare
05b5155 to
f547536
Compare
|
|
||
| impl Tcp4 { | ||
| /// See [Tcp4Protocol::configure]. | ||
| pub fn configure(&mut self, config: &ConfigData, options: Option<&ConfigOptions>) -> Result { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realize this fn duplicates a lot of Ip4Config2::ifup() . Should I just make Tcp4 take a NIC Handle that's already been configured like Http does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense. in uefi, we prefer to hide lower-level details of UEFI from public API. Convenient high-level abstractions are very appreciated
6e51b3d to
327b902
Compare
327b902 to
7d9befe
Compare
|
#1797 is merged, please rebase |
This is PR 2 of 2 adding TCP to uefi-rs, and is a replacement for #1779. Note that this PR contains the commits from #1797 and will need to rebased before merging.
TODO before merging
uefi-rawrelative path dep inuefi/Cargo.tomlto point to publusheduefi-rawcrate.Checklist