blob: 095465b07ce98f77b3c33f2fa5ed786fde3d8f2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
#include <bpf/libbpf.h>
#include <stdio.h>
#include "fdset.h"
#include "macro.h"
bool can_link_bpf_program(struct bpf_program *prog);
int serialize_bpf_link(FILE *f, FDSet *fds, const char *key, struct bpf_link *link);
struct bpf_link *bpf_link_free(struct bpf_link *p);
DEFINE_TRIVIAL_CLEANUP_FUNC(struct bpf_link *, bpf_link_free);
|