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

Help Adding new helpers #778

Open
GEverding opened this issue Sep 1, 2023 · 2 comments
Open

Help Adding new helpers #778

GEverding opened this issue Sep 1, 2023 · 2 comments

Comments

@GEverding
Copy link

Hi

I'm experimenting with porting the xdp_synproxy_kern.c to aya and a couple of helper functions are missing like bpf_xdp_ct_lookup, bpf_skb_ct_lookup, 'bpf_ct_release'.

How hard is it to add support for new functions?

@alessandrod
Copy link
Collaborator

Those are kfuncs, not helpers, so they require BTF support, which is being worked on here https://github.com/aya-rs/bpf-linker/tree/feature/fix-di. Once that branch gets merged, it should be fairly easy to add support for them.

@sanmai-NL
Copy link

See also: #432. @alessandrod @GEverding Are you okay with closing this issue in favor of #432?

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

No branches or pull requests

3 participants