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 support for socket options #5

Open
polachok opened this issue Jul 1, 2018 · 2 comments
Open

Add support for socket options #5

polachok opened this issue Jul 1, 2018 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@polachok
Copy link
Owner

polachok commented Jul 1, 2018

packet(7) specifies many socket options, fanout, rx_ring, etc. We should look into adding them.

@polachok polachok added enhancement New feature or request help wanted Extra attention is needed labels Jul 1, 2018
@SmilingNavern
Copy link
Contributor

Which socket options should go first?

@polachok
Copy link
Owner Author

polachok commented Jul 5, 2018

probably PACKET_ADD_MEMBERSHIP/PACKET_DROP_MEMBERSHIP

  • PACKET_AUXDATA is for recvmsg() which we don't currently support
  • PACKET_FANOUT seems a bit complicated
  • PACKET_STATISTICS doesn't look very useful
  • PACKET_QDISC_BYPASS only makes sense after write support is done

everything else depends on RXRING/TXRING, which I haven't yet figured out how to use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants