* [PATCH] monitor: fix build with INGRESS/EGRESS definitions
@ 2024-09-04 15:11 James Prestwood
2024-09-05 3:08 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: James Prestwood @ 2024-09-04 15:11 UTC (permalink / raw)
To: iwd; +Cc: James Prestwood
These new values are undefined on older kernels (e.g. 5.15)
---
monitor/nlmon.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/monitor/nlmon.c b/monitor/nlmon.c
index f365b36f..66df08a4 100644
--- a/monitor/nlmon.c
+++ b/monitor/nlmon.c
@@ -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"
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] monitor: fix build with INGRESS/EGRESS definitions
2024-09-04 15:11 [PATCH] monitor: fix build with INGRESS/EGRESS definitions James Prestwood
@ 2024-09-05 3:08 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2024-09-05 3:08 UTC (permalink / raw)
To: James Prestwood, iwd
Hi James,
On 9/4/24 10:11 AM, James Prestwood wrote:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-05 3:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04 15:11 [PATCH] monitor: fix build with INGRESS/EGRESS definitions James Prestwood
2024-09-05 3:08 ` Denis Kenzior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox