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
Hi, when using rustix on linux, I found that it seems that there is no socketaddr_nl, and cannot bind to netlink.
socketaddr_nl
let mut sa: sockaddr_nl = mem::zeroed(); sa.nl_family = AF_NETLINK as u16; if bind( sock, &sa as *const sockaddr_nl as *const _, mem::size_of::<sockaddr_nl>() as socklen_t, ) < 0 { return Err(io::Error::last_os_error()); }
The above libc code cannot use rustix to achieve.
rustix
The text was updated successfully, but these errors were encountered:
I submitted a PR for this last year: #1004
Sorry, something went wrong.
No branches or pull requests
Hi, when using rustix on linux, I found that it seems that there is no
socketaddr_nl
, and cannot bind to netlink.The above libc code cannot use
rustix
to achieve.The text was updated successfully, but these errors were encountered: