monitor: fix build with INGRESS/EGRESS definitions
PATCH 1/1 monitor: fix build with INGRESS/EGRESS definitions
These new values are undefined on older kernels (e.g. 5.15)
--- monitor/nlmon.c | 8 ++++++++ 1 file changed, 8 insertions(+)
monitor/nlmon.c +8 -0
@@ -48,6 +48,14 @@#define ARPHRD_NETLINK 824#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 "ell/useful.h"
Signature · 1 line
2.34.1
Denis Kenzior
AppliedHi James,
Quoted 4 lines · James Prestwood
These new values are undefined on older kernels (e.g. 5.15)
--- monitor/nlmon.c | 8 ++++++++ 1 file changed, 8 insertions(+)
Applied, thanks.
Regards,
-Denis