-
Notifications
You must be signed in to change notification settings - Fork 156
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
How to send packet to raw socket device? #599
Comments
SetReceiverOS, SetSenderOS. Example is here https://github.com/intel-go/nff-go/blob/master/examples/OSforwarding.go |
Now we don't have a functionality for sending packet directly without flow graph to Raw socket. You can use SetGenerator->SetSenderOS for lots of packets, however if you would like to send individual packets directly from Flow Functions we will need to add this functionality. Do you want us to add this functionality? |
@ifilippov that sounds good to us, we'll try to use the |
Hi, |
Hi, thanks for introducing the raw socket, it's a very cool feature! :)
I'm now trying to use the raw socket but having a problem that I couldn't find a way to send packets to that device.
Before I was using
SetReceiver
andSetSender
for dpdk devices, and then I'm able to send a new packet to that port, for example:But I suppose if I use raw socket I don't have the port, so how can I send a new generate packet to the device?
The text was updated successfully, but these errors were encountered: