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
1 changed files with 8 additions and 0 deletions

View File

@ -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"