-
Notifications
You must be signed in to change notification settings - Fork 165
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
Support for sending raw Ethernet frames #638
Comments
I am not very familiar with raw ethernet. From the io_uring's point of view, what is it exactly that is needed? |
Because I have a So I guess to alter my original question a bit: can I read/write a |
The way I would do this, is at the sys/uring.rs level, try our best to either reuse the existing functions ( But at the API level (src/io), then have a specialized API that deals with raw file descriptors and keep as high level, specialized, and hard to misuse as possible (I wouldn't go as far as specializing to ethernet frames, but certainly to a rawfd - but that's mostly because I don't understand ethernet well, and don't see any benefit) I don't think this exists today, so you'd have to add it. |
I'm looking at using
glommio
for itsio_uring
support with ethercrab which sends raw Ethernet II frames containing a custom protocol. It currently usessmol::Async
with anAsFd
/AsRawFd
handle. Is there eithera. currently a way to use
glommio
to send raw Ethernet frames using this FD handle orb. something you'd consider adding?
I'd be happy to help with a PR for the latter but could use some guidance on the implementation.
If this doesn't fit the design goals of
glommio
I'm happy to close this issue and go my own way but I thought I'd ask here first :)The text was updated successfully, but these errors were encountered: