]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/core/restrict-ifaces.h
Merge pull request #29343 from DaanDeMeyer/tmp
[thirdparty/systemd.git] / src / core / restrict-ifaces.h
CommitLineData
948def4a 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
6f50d4f7
MV
2#pragma once
3
4#include "fdset.h"
5#include "unit.h"
6
7typedef struct Unit Unit;
8
9int restrict_network_interfaces_supported(void);
10int restrict_network_interfaces_install(Unit *u);
11
12int serialize_restrict_network_interfaces(Unit *u, FILE *f, FDSet *fds);
13
14/* Add BPF link fd created before daemon-reload or daemon-reexec.
15 * FDs will be closed at the end of restrict_network_interfaces_install. */
16int restrict_network_interfaces_add_initial_link_fd(Unit *u, int fd);