src/core/bpf-socket-bind.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | #include "core-forward.h" |
| 5 | |
| 6 | int bpf_socket_bind_supported(void); |
| 7 | |
| 8 | /* Add BPF link fd created before daemon-reload or daemon-reexec. FDs will be closed at the end of |
| 9 | * socket_bind_install. */ |
| 10 | int bpf_socket_bind_add_initial_link_fd(Unit *u, int fd); |
| 11 | |
| 12 | int bpf_socket_bind_install(Unit *u); |
| 13 | |
| 14 | int bpf_socket_bind_serialize(Unit *u, FILE *f, FDSet *fds); |