summaryrefslogtreecommitdiff
path: root/src/xdp/common/xdp_stats_kern_user.h
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 20:12:34 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-14 20:12:34 +0100
commit85ff856a32ccb5bc20604bacfb4fa5cb66375487 (patch)
tree9fa6fa4ef84c39dae14accc018187fce57fd91e2 /src/xdp/common/xdp_stats_kern_user.h
parent59ad580cdea2e66e24470ee3d84f29a8619b7bf9 (diff)
downloadvyos-1x-85ff856a32ccb5bc20604bacfb4fa5cb66375487.tar.gz
vyos-1x-85ff856a32ccb5bc20604bacfb4fa5cb66375487.zip
xdp: T2666: remove entire XDP code for 1.3 LTS image
This is an extension to commit 801c5235 ("xdp: T2666: disable this highly experimental feature in 1.3 LTS") by dropping all XDP references in the equuleus codebase.
Diffstat (limited to 'src/xdp/common/xdp_stats_kern_user.h')
-rw-r--r--src/xdp/common/xdp_stats_kern_user.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/xdp/common/xdp_stats_kern_user.h b/src/xdp/common/xdp_stats_kern_user.h
deleted file mode 100644
index d7b8d05e6..000000000
--- a/src/xdp/common/xdp_stats_kern_user.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-
-/* Used by BPF-prog kernel side BPF-progs and userspace programs,
- * for sharing xdp_stats common struct and DEFINEs.
- */
-#ifndef __XDP_STATS_KERN_USER_H
-#define __XDP_STATS_KERN_USER_H
-
-/* This is the data record stored in the map */
-struct datarec {
- __u64 rx_packets;
- __u64 rx_bytes;
-};
-
-#ifndef XDP_ACTION_MAX
-#define XDP_ACTION_MAX (XDP_REDIRECT + 1)
-#endif
-
-#endif /* __XDP_STATS_KERN_USER_H */