Searched refs:wgdevice (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/wireguard-tools/ |
H A D | config.h | 11 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 D | ipc.h | 11 struct wgdevice; 13 int ipc_set_device(struct wgdevice *dev); 14 int ipc_get_device(struct wgdevice **dev, const char *interface);
|
H A D | setconf.c | 30 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 D | ipc.c | 78 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 D | show.c | 47 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 D | containers.h | 77 struct wgdevice { struct 95 static inline void free_wgdevice(struct wgdevice *dev) in free_wgdevice() argument
|
H A D | ipc-uapi.h | 28 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 D | set.c | 17 struct wgdevice *device = NULL; in set_main()
|
H A D | ipc-freebsd.h | 53 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 D | showconf.c | 25 struct wgdevice *device = NULL; in showconf_main()
|
H A D | config.c | 530 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()
|