We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could you implement PF_PACKET domain socke in dpdk-ans? thanks very much!
Some user may wanna use PF_PACKET domain socket to receive or transmit original ethernet frames. Bellow are the sample codes.
int ret; struct sockaddr_ll sock_addr = { .sll_family = AF_PACKET, .sll_protocol = 0, .sll_ifindex =0 }; int fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); bind(fd, (struct sockaddr *)&sock_addr, sizeof(struct sockaddr_ll));
The text was updated successfully, but these errors were encountered:
Will not support PF_PACKET because no much benefit for it.
Sorry, something went wrong.
No branches or pull requests
Could you implement PF_PACKET domain socke in dpdk-ans?
thanks very much!
Some user may wanna use PF_PACKET domain socket to receive or transmit original ethernet frames.
Bellow are the sample codes.
The text was updated successfully, but these errors were encountered: