aboutsummaryrefslogtreecommitdiffstats
path: root/protocol.capnp.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.capnp.h')
-rw-r--r--protocol.capnp.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/protocol.capnp.h b/protocol.capnp.h
index bf8a949..e553913 100644
--- a/protocol.capnp.h
+++ b/protocol.capnp.h
@@ -23,20 +23,20 @@ extern "C" {
struct WgClientMsg;
struct WgIpv4Addr;
struct WgIpv6Addr;
-struct WgServerSimpleMsg;
+struct WgServerSimpleIpv4Msg;
typedef struct {capn_ptr p;} WgClientMsg_ptr;
typedef struct {capn_ptr p;} WgIpv4Addr_ptr;
typedef struct {capn_ptr p;} WgIpv6Addr_ptr;
-typedef struct {capn_ptr p;} WgServerSimpleMsg_ptr;
+typedef struct {capn_ptr p;} WgServerSimpleIpv4Msg_ptr;
typedef struct {capn_ptr p;} WgClientMsg_list;
typedef struct {capn_ptr p;} WgIpv4Addr_list;
typedef struct {capn_ptr p;} WgIpv6Addr_list;
-typedef struct {capn_ptr p;} WgServerSimpleMsg_list;
+typedef struct {capn_ptr p;} WgServerSimpleIpv4Msg_list;
enum WgClientMsg_WgClientRequestType {
- WgClientMsg_WgClientRequestType_simple = 0
+ WgClientMsg_WgClientRequestType_simpleIpv4 = 0
};
struct WgClientMsg {
@@ -71,47 +71,47 @@ static const size_t WgIpv6Addr_pointer_count = 1;
static const size_t WgIpv6Addr_struct_bytes_count = 16;
-struct WgServerSimpleMsg {
+struct WgServerSimpleIpv4Msg {
WgIpv4Addr_ptr leasedIpv4;
uint32_t leaseTimeout;
WgIpv4Addr_list ipv4Routes;
};
-static const size_t WgServerSimpleMsg_word_count = 1;
+static const size_t WgServerSimpleIpv4Msg_word_count = 1;
-static const size_t WgServerSimpleMsg_pointer_count = 2;
+static const size_t WgServerSimpleIpv4Msg_pointer_count = 2;
-static const size_t WgServerSimpleMsg_struct_bytes_count = 24;
+static const size_t WgServerSimpleIpv4Msg_struct_bytes_count = 24;
WgClientMsg_ptr new_WgClientMsg(struct capn_segment*);
WgIpv4Addr_ptr new_WgIpv4Addr(struct capn_segment*);
WgIpv6Addr_ptr new_WgIpv6Addr(struct capn_segment*);
-WgServerSimpleMsg_ptr new_WgServerSimpleMsg(struct capn_segment*);
+WgServerSimpleIpv4Msg_ptr new_WgServerSimpleIpv4Msg(struct capn_segment*);
WgClientMsg_list new_WgClientMsg_list(struct capn_segment*, int len);
WgIpv4Addr_list new_WgIpv4Addr_list(struct capn_segment*, int len);
WgIpv6Addr_list new_WgIpv6Addr_list(struct capn_segment*, int len);
-WgServerSimpleMsg_list new_WgServerSimpleMsg_list(struct capn_segment*, int len);
+WgServerSimpleIpv4Msg_list new_WgServerSimpleIpv4Msg_list(struct capn_segment*, int len);
void read_WgClientMsg(struct WgClientMsg*, WgClientMsg_ptr);
void read_WgIpv4Addr(struct WgIpv4Addr*, WgIpv4Addr_ptr);
void read_WgIpv6Addr(struct WgIpv6Addr*, WgIpv6Addr_ptr);
-void read_WgServerSimpleMsg(struct WgServerSimpleMsg*, WgServerSimpleMsg_ptr);
+void read_WgServerSimpleIpv4Msg(struct WgServerSimpleIpv4Msg*, WgServerSimpleIpv4Msg_ptr);
void write_WgClientMsg(const struct WgClientMsg*, WgClientMsg_ptr);
void write_WgIpv4Addr(const struct WgIpv4Addr*, WgIpv4Addr_ptr);
void write_WgIpv6Addr(const struct WgIpv6Addr*, WgIpv6Addr_ptr);
-void write_WgServerSimpleMsg(const struct WgServerSimpleMsg*, WgServerSimpleMsg_ptr);
+void write_WgServerSimpleIpv4Msg(const struct WgServerSimpleIpv4Msg*, WgServerSimpleIpv4Msg_ptr);
void get_WgClientMsg(struct WgClientMsg*, WgClientMsg_list, int i);
void get_WgIpv4Addr(struct WgIpv4Addr*, WgIpv4Addr_list, int i);
void get_WgIpv6Addr(struct WgIpv6Addr*, WgIpv6Addr_list, int i);
-void get_WgServerSimpleMsg(struct WgServerSimpleMsg*, WgServerSimpleMsg_list, int i);
+void get_WgServerSimpleIpv4Msg(struct WgServerSimpleIpv4Msg*, WgServerSimpleIpv4Msg_list, int i);
void set_WgClientMsg(const struct WgClientMsg*, WgClientMsg_list, int i);
void set_WgIpv4Addr(const struct WgIpv4Addr*, WgIpv4Addr_list, int i);
void set_WgIpv6Addr(const struct WgIpv6Addr*, WgIpv6Addr_list, int i);
-void set_WgServerSimpleMsg(const struct WgServerSimpleMsg*, WgServerSimpleMsg_list, int i);
+void set_WgServerSimpleIpv4Msg(const struct WgServerSimpleIpv4Msg*, WgServerSimpleIpv4Msg_list, int i);
#ifdef __cplusplus
}