Skip to content

Conversation

@Thomasdezeeuw
Copy link
Collaborator

A wrapper around libc::sock_filter, so we don't use any libc types in our API.

/// Berkeley Packet Filter (BPF).
///
/// See [`Socket::attach_filter[
#[cfg(all(feature = "all", any(target_os = "linux", target_os = "android")))]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cygwin?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using the same cfg as for the attach_filter method where this is used.

A wrapper around libc::sock_filter, so we don't use any libc types in
our API.
@Thomasdezeeuw Thomasdezeeuw merged commit 2446f48 into master May 25, 2025
44 of 46 checks passed
@Thomasdezeeuw Thomasdezeeuw deleted the add-SockFilter branch May 25, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants