summaryrefslogtreecommitdiffstats
path: root/service/vrf.h
blob: 0c0a0dd36783b9c026ef845da76ac0d8d92742f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (C) 2026 Nick Hainke <vincent@systemli.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 2.1
 * as published by the Free Software Foundation
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef __PROCD_VRF_H
#define __PROCD_VRF_H

int vrf_attach(int cgroup_fd, const char *vrf_name);
void vrf_detach(int cgroup_fd);

#endif