mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
This function is the only outlier, all other BPF glue functions are called bpf_<module>_xyz(). Hence swap this over here too.
16 lines
425 B
C
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);
|