]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/core/bpf-socket-bind.h
hwdb: ASRock LED Controller classified incorrectly as joystick due to buttons and...
[thirdparty/systemd.git] / src / core / bpf-socket-bind.h
CommitLineData
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
7int 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. */
11int bpf_socket_bind_add_initial_link_fd(Unit *u, int fd);
12
13int bpf_socket_bind_install(Unit *u);
14
0e949cff 15int bpf_socket_bind_serialize(Unit *u, FILE *f, FDSet *fds);