Skip to content

When I use a Union in C, the code generated by bpf2go is not complete. #1041

Answered by lmb
binw666 asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried passing -type A -type B to bpf2go? That should make it generate both types.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lmb
Comment options

Answer selected by ti-mo
@binw666
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants