bpftool_helpers.h 276 B

1234567891011
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #pragma once
  3. #include <stdlib.h>
  4. #include <stdio.h>
  5. #include <stdbool.h>
  6. #define MAX_BPFTOOL_CMD_LEN (256)
  7. int run_bpftool_command(char *args);
  8. int get_bpftool_command_output(char *args, char *output_buf, size_t output_max_len);