google / pdl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

endianess should include host-order

schilitg opened this issue · comments

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"