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 support for BPF_PROG_TYPE_SK_LOOKUP #265

Merged
merged 2 commits into from May 29, 2022

Conversation

dave-tucker
Copy link
Member

@dave-tucker dave-tucker commented May 19, 2022

TODO:

  • Sort out missing bindings for bpf_sk_lookup
  • Demo Program
  • Nice wrapper for sk_assign helper

Demo program: https://github.com/dave-tucker/sk_lookup_test
You can nc localhost:41234 or to use sk_lookup, nc localhost:7007

Closes: #223

@netlify
Copy link

netlify bot commented May 19, 2022

Deploy Preview for aya-rs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 74704c3
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs/deploys/62932b5e031c2f00088f844d
😎 Deploy Preview https://deploy-preview-265--aya-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@dave-tucker dave-tucker marked this pull request as draft May 19, 2022 23:32
@dave-tucker dave-tucker force-pushed the sklookup branch 8 times, most recently from c0c60ae to 7d9cbdf Compare May 20, 2022 15:50
@dave-tucker dave-tucker marked this pull request as ready for review May 20, 2022 15:55
@dave-tucker dave-tucker force-pushed the sklookup branch 2 times, most recently from 04c59ae to 92e433d Compare May 20, 2022 23:00
Copy link
Collaborator

@alessandrod alessandrod left a comment

Choose a reason for hiding this comment

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

Some missing .s but otherwise looks great!

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
@dave-tucker dave-tucker merged commit a047354 into aya-rs:main May 29, 2022
@dave-tucker dave-tucker added feature A PR that implements a new feature or enhancement aya-bpf This is about aya-bpf (kernel) aya This is about aya (userspace) labels Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aya This is about aya (userspace) aya-bpf This is about aya-bpf (kernel) feature A PR that implements a new feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for BPF_PROG_TYPE_SK_LOOKUP
2 participants