endianess should include host-order
schilitg opened this issue · comments
schilitg commented
PROBLEM
netlink.h and mac80211_hwsim.h packets are defined in host order, however only "little-endian" and "big-endian" are allowed.
These definitions are used for "simulated" networking between kernel and user space and also by VMs from guest to host to pass Wi-Fi packets to/from the linux mac80211_hwsim driver.
See https://wireless.wiki.kernel.org/en/users/drivers/mac80211_hwsim
RECOMMENDATION
Add another type: "host-endian"