bpfman
bpfman copied to clipboard
Add endian-aware support for global data
A simple initial implementation could be to specify the byte order to use in the API, and then have the bpfman code do the translation based on the actual architecture. It seems like big-endian is a good one for the API because it's easier for humans to read.
A more user-friendly API could be to allow the user to fully specify datatypes and values in the API.