projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'leds-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds
[platform/kernel/linux-rpi.git]
/
samples
/
bpf
/
net_shared.h
diff --git
a/samples/bpf/net_shared.h
b/samples/bpf/net_shared.h
index
e9429af
..
88cc524
100644
(file)
--- a/
samples/bpf/net_shared.h
+++ b/
samples/bpf/net_shared.h
@@
-17,6
+17,8
@@
#define TC_ACT_OK 0
#define TC_ACT_SHOT 2
+#define IFNAMSIZ 16
+
#if defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) && \
__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define bpf_ntohs(x) __builtin_bswap16(x)