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

Add linux sll support #99

Merged
merged 21 commits into from
May 2, 2024

Conversation

RabadanDotDev
Copy link
Contributor

Work mentioned in #97. I implemented the part of the public interface I was most interested in (SlicedPacket::from_linux_sll) and all the additions/extensions to the rest of the code it needed. There are some parts missing, but if you are interested in merging, I can work on them when I get the time.

Specifically, some points missing are:

  • Implementation of PacketHeaders::from_linux_sll()
  • Implementation of LaxSlicedPacket::from_linux_sll()
  • Implementation of LaxPacketHeaders::from_linux_sll()
  • Revising the added test code, making sure it makes sense and the relevant cases are covered

@JulianSchmid
Copy link
Owner

Wow thanks for that PR. I will have a deep look into it tomorrow, but so far it looks incredible.

Copy link
Owner

@JulianSchmid JulianSchmid left a comment

Choose a reason for hiding this comment

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

I don't know what to say, other than this is excellent work. Thanks a lot.

I would merge your PR and move the missing topics you mentioned in the PR description into a ticket. If you find time to implement them a new PR would be very welcome.

Copy link
Owner

@JulianSchmid JulianSchmid left a comment

Choose a reason for hiding this comment

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

Minor fixes for non-std support

etherparse/src/link/linux_sll_header.rs Outdated Show resolved Hide resolved
etherparse/src/link/linux_sll_header.rs Outdated Show resolved Hide resolved
@JulianSchmid JulianSchmid mentioned this pull request May 2, 2024
4 tasks
@JulianSchmid
Copy link
Owner

I will fix the errors that my no-std fix introduced in the evening.

@JulianSchmid JulianSchmid merged commit b53002c into JulianSchmid:master May 2, 2024
8 of 9 checks passed
@RabadanDotDev
Copy link
Contributor Author

I would merge your PR and move the missing topics you mentioned in the PR description into a ticket. If you find time to implement them a new PR would be very welcome.

Ok perfect, sounds good! When I finish other work I have I'll to look into to finish implementing the rest.

@GyulyVGC
Copy link

That's an amazing addition.

Thanks for the work @RabadanDotDev and @JulianSchmid for reviewing ❤️

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.

None yet

3 participants