summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/bpftool_helpers.h
blob: dec1ba201410f78972be86a452b459314806619b (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */
#pragma once

#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>

#define MAX_BPFTOOL_CMD_LEN	(256)

int run_bpftool_command(char *args);
int get_bpftool_command_output(char *args, char *output_buf, size_t output_max_len);