summaryrefslogtreecommitdiff
path: root/src/xdp/common/common_defines.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/common_defines.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/common_defines.h')
-rw-r--r--src/xdp/common/common_defines.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/xdp/common/common_defines.h b/src/xdp/common/common_defines.h
deleted file mode 100644
index 2986d2d67..000000000
--- a/src/xdp/common/common_defines.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef __COMMON_DEFINES_H
-#define __COMMON_DEFINES_H
-
-#include <net/if.h>
-#include <linux/types.h>
-#include <stdbool.h>
-
-struct config {
- __u32 xdp_flags;
- int ifindex;
- char *ifname;
- char ifname_buf[IF_NAMESIZE];
- int redirect_ifindex;
- char *redirect_ifname;
- char redirect_ifname_buf[IF_NAMESIZE];
- bool do_unload;
- bool reuse_maps;
- char pin_dir[512];
- char filename[512];
- char progsec[32];
- char src_mac[18];
- char dest_mac[18];
- __u16 xsk_bind_flags;
- int xsk_if_queue;
- bool xsk_poll_mode;
-};
-
-/* Defined in common_params.o */
-extern int verbose;
-
-/* Exit return codes */
-#define EXIT_OK 0 /* == EXIT_SUCCESS (stdlib.h) man exit(3) */
-#define EXIT_FAIL 1 /* == EXIT_FAILURE (stdlib.h) man exit(3) */
-#define EXIT_FAIL_OPTION 2
-#define EXIT_FAIL_XDP 30
-#define EXIT_FAIL_BPF 40
-
-#endif /* __COMMON_DEFINES_H */