Skip to content
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

move netdev interface to use net/netip for IP addr/ports #622

Merged
merged 2 commits into from
Dec 4, 2023
Merged

Conversation

scottfeldman
Copy link
Contributor

Matches changes to netdever interface made in tinygo-org/net#8. These two PRs are paired. If one goes, both go.

Copy link
Contributor

@soypat soypat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

espat/espat.go Outdated Show resolved Hide resolved
@deadprogram
Copy link
Member

Now merging, thanks for working on this @scottfeldman and for review @soypat

@deadprogram deadprogram merged commit e0b5537 into tinygo-org:scottfeldman-netdev3 Dec 4, 2023
1 check failed
@soypat
Copy link
Contributor

soypat commented Dec 4, 2023

Was looking at the code again and just thought to myself this was a really good move! Lots of heap allocations seem to be gone now! Thanks @scottfeldman for the contribution!

@scottfeldman
Copy link
Contributor Author

Yes, it was worth it. What next @soypat?

@soypat
Copy link
Contributor

soypat commented Dec 5, 2023

@scottfeldman Now we use the API!
As for the netdev-3 PR I'm still working on the TCP implementation. it's coming along nicely but its got a while to go before being lwip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants