Files
systemd/src/core/bpf-socket-bind.h
Lennart Poettering 0e949cff53 bpf-socket-bind: rename bpf_serialize_socket_bind() → bpf_socket_bind_serialize()
This function is the only outlier, all other BPF glue functions are
called bpf_<module>_xyz(). Hence swap this over here too.
2024-01-25 16:11:33 +01:00

16 lines
425 B
C

/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include "fdset.h"
#include "unit.h"
int bpf_socket_bind_supported(void);
/* Add BPF link fd created before daemon-reload or daemon-reexec. FDs will be closed at the end of
* socket_bind_install. */
int bpf_socket_bind_add_initial_link_fd(Unit *u, int fd);
int bpf_socket_bind_install(Unit *u);
int bpf_socket_bind_serialize(Unit *u, FILE *f, FDSet *fds);