Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/testing/selftests/bpf/bpftool_helpers.h
121838 views
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
13