diff options
Diffstat (limited to 'include/openvpn-msg.h')
-rw-r--r-- | include/openvpn-msg.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/openvpn-msg.h b/include/openvpn-msg.h index 66177a2..a4789e3 100644 --- a/include/openvpn-msg.h +++ b/include/openvpn-msg.h @@ -39,6 +39,8 @@ typedef enum { msg_del_block_dns, msg_register_dns, msg_enable_dhcp, + msg_register_ring_buffers, + msg_set_mtu } message_type_t; typedef struct { @@ -117,4 +119,20 @@ typedef struct { interface_t iface; } enable_dhcp_message_t; +typedef struct { + message_header_t header; + HANDLE device; + HANDLE send_ring_handle; + HANDLE receive_ring_handle; + HANDLE send_tail_moved; + HANDLE receive_tail_moved; +} register_ring_buffers_message_t; + +typedef struct { + message_header_t header; + interface_t iface; + short family; + int mtu; +} set_mtu_message_t; + #endif /* ifndef OPENVPN_MSG_H_ */ |