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

libbcc: support BPF_SOCKHASH specify the key type #3473

Merged
merged 4 commits into from
Jun 7, 2021
Merged

libbcc: support BPF_SOCKHASH specify the key type #3473

merged 4 commits into from
Jun 7, 2021

Conversation

chenyuezhou
Copy link
Contributor

I think one of the main reasons for providing sockhash is because people want to use more flexible keys. So I think we need to provide a way for users to define their own key types.

@yonghong-song
Copy link
Collaborator

[buildbot, test this please]

@yonghong-song
Copy link
Collaborator

Thanks! Agree that for sockhash, we do want to flexible key type compared to u32 only (which is for sockarray).

@yonghong-song yonghong-song merged commit 6d88feb into iovisor:master Jun 7, 2021
CrackerCat pushed a commit to CrackerCat/bcc that referenced this pull request Jul 31, 2024
support BPF SOCKHASH specify the key type and update documentation
for BPF_SOCKHASH and map.sock_hash_update().
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.

None yet

2 participants