19 import "vnet/interface_types.api";
20 import "vnet/ip/ip_types.api";
33 u32 user_instance [
default=0xffffffff];
43 define wireguard_interface_create {
55 define wireguard_interface_create_reply
62 autoreply define wireguard_interface_delete
69 define wireguard_interface_dump
77 define wireguard_interface_details
105 vl_api_wireguard_peer_flags_t
flags;
115 define wireguard_peer_add
121 define wireguard_peer_add_reply
133 autoreply define wireguard_peer_remove
144 define wireguard_peers_dump {
155 define wireguard_peers_details {
vl_api_wireguard_peer_flags_t flags
typedef wireguard_peer
Create new peer.
vl_api_interface_index_t sw_if_index
vl_api_wireguard_interface_t interface
vl_api_interface_index_t sw_if_index
vl_api_prefix_t allowed_ips[n_allowed_ips]
vl_api_address_t endpoint
vl_api_wireguard_peer_t peer
vl_api_wireguard_interface_t interface
vl_api_wireguard_peer_t peer
vl_api_interface_index_t sw_if_index
typedef wireguard_interface
Create wireguard interface.
vl_api_interface_index_t sw_if_index