Debian Codegraph @

src/core/bpf-restrict-ifaces.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include "core-forward.h"
5
6 int bpf_restrict_ifaces_supported(void);
7 int bpf_restrict_ifaces_install(Unit *u);
8
9 int bpf_restrict_ifaces_serialize(Unit *u, FILE *f, FDSet *fds);
10
11 /* Add BPF link fd created before daemon-reload or daemon-reexec.
12 * FDs will be closed at the end of restrict_network_interfaces_install. */
13 int bpf_restrict_ifaces_add_initial_link_fd(Unit *u, int fd);