blob: 5bd9a41acc662a5e91a6543ae8d291e6f2a74bb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef _BIRD_WG_USER_H
#define _BIRD_WG_USER_H
#include "sysdep/config.h"
#ifndef SOCKET_PATH
#define SOCKET_PATH PATH_RUNSTATEDIR "/wireguard/"
#endif /* SOCKET_PATH */
struct pool;
struct wg_device;
bool wg_has_userspace(const char *ifname);
int wg_user_set_device(struct pool *pool, const char *ifname, struct wg_device *dev);
#endif /* _BIRD_WG_USER_H */
|