Skip to content
Commit bc1bafbb authored by David S. Miller's avatar David S. Miller
Browse files

bpf: Move endianness BPF helpers out of bpf_util.h



We do not want to include things like stdio.h and friends into
eBPF program builds.  bpf_util.h is for host compiled programs,
so eBPF C-code helpers don't really belong there.

Add a new bpf_endian.h as a quick fix for this for now.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5b8481fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment