google / google/pdl

endianess should include host-order

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
86
Forks
18
Avg merge
20h 49m
Merged PRs (30d)
1

Description

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"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.