]>
Commit | Line | Data |
---|---|---|
948def4a | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
cd09a5f3 LP |
2 | #pragma once |
3 | ||
4 | #include "fdset.h" | |
5 | #include "unit.h" | |
6 | ||
7 | int bpf_socket_bind_supported(void); | |
8 | ||
9 | /* Add BPF link fd created before daemon-reload or daemon-reexec. FDs will be closed at the end of | |
10 | * socket_bind_install. */ | |
11 | int bpf_socket_bind_add_initial_link_fd(Unit *u, int fd); | |
12 | ||
13 | int bpf_socket_bind_install(Unit *u); | |
14 | ||
15 | int bpf_serialize_socket_bind(Unit *u, FILE *f, FDSet *fds); |