src/include/override/sys/bpf.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | #include <linux/bpf.h> /* IWYU pragma: export */ |
| 5 | #include <stddef.h> |
| 6 | |
| 7 | /* Supported since kernel v3.18 (749730ce42a2121e1c88350d69478bff3994b10a). */ |
| 8 | int bpf_shim(int cmd, union bpf_attr *attr, size_t size); |
| 9 | #define bpf bpf_shim |