summaryrefslogtreecommitdiff
path: root/src/xdp/common/common_libbpf.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_libbpf.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_libbpf.h')
-rw-r--r--src/xdp/common/common_libbpf.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/xdp/common/common_libbpf.h b/src/xdp/common/common_libbpf.h
deleted file mode 100644
index 4754bd8ca..000000000
--- a/src/xdp/common/common_libbpf.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Common function that with time should be moved to libbpf */
-#ifndef __COMMON_LIBBPF_H
-#define __COMMON_LIBBPF_H
-
-struct bpf_pinned_map {
- const char *name;
- const char *filename;
- int map_fd;
-};
-
-/* bpf_prog_load_attr extended */
-struct bpf_prog_load_attr_maps {
- const char *file;
- enum bpf_prog_type prog_type;
- enum bpf_attach_type expected_attach_type;
- int ifindex;
- int nr_pinned_maps;
- struct bpf_pinned_map *pinned_maps;
-};
-
-int bpf_prog_load_xattr_maps(const struct bpf_prog_load_attr_maps *attr,
- struct bpf_object **pobj, int *prog_fd);
-
-#endif /* __COMMON_LIBBPF_H */