-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: Get tcp_info
structure
#2615
base: master
Are you sure you want to change the base?
Conversation
Implement TCP_INFO option for getsockopt.
Hello, it looks like the CI is failing for two reasons:
The former is out of this PR's scope, so I won't address that here. However, I'd like advice on how to resolve the latter. Thank you! |
@@ -1268,6 +1268,17 @@ sockopt_impl!( | |||
libc::SO_EXCLBIND, | |||
bool | |||
); | |||
#[cfg(target_os = "linux")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi there
However, I'd like advice on how to resolve the latter.
If uClibc has that symbol, you can add it to the libc crate. Otherwise, we need to filter it out:
#[cfg(target_os = "linux")] | |
#[cfg(all(target_os = "linux", not(target_env = "uclibc")))] |
- Added `TCP_INFO` sockopt to read TCP socket information on _linux_. | ||
([#2615](https://github.com/nix-rust/nix/pull/2615)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the changelog entry there: https://github.com/nix-rust/nix/tree/master/changelog
Will be addressed in #2610 |
Implement TCP_INFO option for getsockopt.
What does this PR do
Checklist:
CONTRIBUTING.md