mirror of
https://github.com/systemd/systemd.git
synced 2026-07-24 16:25:52 +00:00
https://spdx.dev/ids/#:~:text=Allowing%20later%20versions%20of%20a%20license https://spdx.org/licenses/LGPL-2.1-or-later.html
17 lines
402 B
C
17 lines
402 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include <bpf/libbpf.h>
|
|
#include <stdio.h>
|
|
|
|
#include "fdset.h"
|
|
#include "macro.h"
|
|
|
|
bool bpf_can_link_program(struct bpf_program *prog);
|
|
|
|
int bpf_serialize_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);
|