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 SO_BINDTODEVICE sockopt #1233

Merged
merged 1 commit into from May 8, 2020

Commits on May 8, 2020

  1. Add SO_BINDTODEVICE sockopt

    This is available only on Linux as far I know,
    [socket(7)](https://linux.die.net/man/7/socket) has some information
    about the `SO_BINDTODEVICE` sockopt. In simple words it binds a socket
    to an specific network device (specified as an string like "wlo1",
    "eth0", etc.), to only process packets from that device.
    
    Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
    jeandudey committed May 8, 2020
    Configuration menu
    Copy the full SHA
    1686f6d View commit details
    Browse the repository at this point in the history