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

field “xxx” is a bitfield: not supported #604

Closed
wrsrap opened this issue Mar 22, 2022 · 5 comments
Closed

field “xxx” is a bitfield: not supported #604

wrsrap opened this issue Mar 22, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@wrsrap
Copy link

wrsrap commented Mar 22, 2022

I hook the “net_dev_xmit“ tracepoint,try to parse the packet with struct iphdr:
loading objects: field NetDevStartXmitHook: program net_dev_start_xmit_hook: CO-RE relocations: relocate struct#63["iphdr"]: target struct#38880["iphdr"]: target struct#38880["iphdr"]: field "ihl" is a bitfield: not supported

go1.16.5
Linux localhost.localdomain 4.18.0-305.25.1.el8_4.x86_64

@wrsrap wrsrap added the bug Something isn't working label Mar 22, 2022
@florianl
Copy link
Collaborator

There is work going on to support bitfields with PR #573.
This report seems also to be a duplicate of issue #384.

@lmb
Copy link
Collaborator

lmb commented Mar 22, 2022

Florian has pointed you in the right direction, feel free to test the PR. Please search the issue tracker before creating new issues.

@lmb lmb closed this as completed Mar 22, 2022
@lilong89
Copy link

There is work going on to support bitfields with PR #573. This report seems also to be a duplicate of issue #384.

Thank u for your patient

@lilong89
Copy link

Florian has pointed you in the right direction, feel free to test the PR. Please search the issue tracker before creating new issues.

Thank u , i'll pay attention next time.

@ti-mo
Copy link
Collaborator

ti-mo commented Mar 29, 2022

#573 was just merged, please give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants