xref: /linux/tools/testing/selftests/bpf/bpftool_helpers.h (revision 36ae1c45b2cede43ab2fc679b450060bbf119f1b)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #pragma once
3 
4 #include <stdlib.h>
5 #include <stdio.h>
6 #include <stdbool.h>
7 
8 #define MAX_BPFTOOL_CMD_LEN	(256)
9 
10 int run_bpftool_command(char *args);
11 int get_bpftool_command_output(char *args, char *output_buf, size_t output_max_len);
12