3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-16 17:09:24 +01:00

monitor: fix build with INGRESS/EGRESS definitions

These new values are undefined on older kernels (e.g. 5.15)
This commit is contained in:
James Prestwood 2024-09-04 08:11:22 -07:00 committed by Denis Kenzior
parent c66438e34f
commit 23cf6107c6

View File

@ -48,6 +48,14 @@
#define ARPHRD_NETLINK 824 #define ARPHRD_NETLINK 824
#endif #endif
#ifndef RMNET_FLAGS_INGRESS_MAP_CKSUMV5
#define RMNET_FLAGS_INGRESS_MAP_CKSUMV5 (1U << 4)
#endif
#ifndef RMNET_FLAGS_EGRESS_MAP_CKSUMV5
#define RMNET_FLAGS_EGRESS_MAP_CKSUMV5 (1U << 5)
#endif
#include "linux/nl80211.h" #include "linux/nl80211.h"
#include "ell/useful.h" #include "ell/useful.h"