diff options
Diffstat (limited to 'protocol.capnp')
-rw-r--r-- | protocol.capnp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/protocol.capnp b/protocol.capnp index 7450702..64463e9 100644 --- a/protocol.capnp +++ b/protocol.capnp @@ -3,22 +3,22 @@ # Copyright (C) 2018 Wireguard LLC # -@0xed77208fb3340cc1 +@0xed77208fb3340cc1; # client request message -struct wg_client_msg { - request @0 :wg_client_request_type; +struct WgClientMsg { + request @0 :WgClientRequestType; - enum wg_client_request_type { - WG_REQUEST_SIMPLE @0; + enum WgClientRequestType { + simple @0; } } # server response message -struct wg_server_simple_msg { - leased_ipv4 @0 :UInt32; # dynamic IPv4 leased to client - leased_ipv4_cidr @1 :UInt32; # CIDR of dynamic IPv4 leased to client - lease_timeout @2 :UInt32; # activity timeout for the IP lease in seconds +struct WgServerSimpleMsg { + leasedIpv4 @0 :UInt32; # dynamic IPv4 leased to client + leasedIpv4Cidr @1 :UInt32; # CIDR of dynamic IPv4 leased to client + leaseTimeout @2 :UInt32; # activity timeout for the IP lease in seconds route @3 :UInt32; # route for client - route @4 :Uint32; # CIDR of route for client + routeCidr @4 :UInt32; # CIDR of route for client } |