Home
last modified time | relevance | path

Searched refs:wgdevice (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/wireguard-tools/
H A Dconfig.h11 struct wgdevice;
16 struct wgdevice *device;
22 struct wgdevice *config_read_cmd(const char *argv[], int argc);
25 struct wgdevice *config_read_finish(struct config_ctx *ctx);
H A Dipc.h11 struct wgdevice;
13 int ipc_set_device(struct wgdevice *dev);
14 int ipc_get_device(struct wgdevice **dev, const char *interface);
H A Dsetconf.c30 static bool sync_conf(struct wgdevice *file) in sync_conf()
32 struct wgdevice *runtime; in sync_conf()
103 struct wgdevice *device = NULL; in setconf_main()
H A Dipc.c78 int ipc_get_device(struct wgdevice **dev, const char *iface) in ipc_get_device()
89 int ipc_set_device(struct wgdevice *dev) in ipc_set_device()
H A Dshow.c47 static void sort_peers(struct wgdevice *device) in sort_peers()
208 static void pretty_print(struct wgdevice *device) in pretty_print()
253 static void dump_print(struct wgdevice *device, bool with_interface) in dump_print()
290 static bool ugly_print(struct wgdevice *device, const char *param, bool with_interface) in ugly_print()
400 struct wgdevice *device = NULL; in show_main()
440 struct wgdevice *device = NULL; in show_main()
H A Dcontainers.h77 struct wgdevice { struct
95 static inline void free_wgdevice(struct wgdevice *dev) in free_wgdevice() argument
H A Dipc-uapi.h28 static int userspace_set_device(struct wgdevice *dev) in userspace_set_device()
138 static int userspace_get_device(struct wgdevice **out, const char *iface) in userspace_get_device()
140 struct wgdevice *dev; in userspace_get_device()
H A Dset.c17 struct wgdevice *device = NULL; in set_main()
H A Dipc-freebsd.h53 static int kernel_get_device(struct wgdevice **device, const char *ifname) in kernel_get_device()
58 struct wgdevice *dev = NULL; in kernel_get_device()
250 static int kernel_set_device(struct wgdevice *dev) in kernel_set_device()
H A Dshowconf.c25 struct wgdevice *device = NULL; in showconf_main()
H A Dconfig.c530 struct wgdevice *config_read_finish(struct config_ctx *ctx) in config_read_finish()
564 struct wgdevice *config_read_cmd(const char *argv[], int argc) in config_read_cmd()
566 struct wgdevice *device = calloc(1, sizeof(*device)); in config_read_cmd()