CCF
Loading...
Searching...
No Matches
msg_types.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
6
7namespace tcp
8{
9 using ConnID = int64_t;
10
14 {
18
20 DEFINE_RINGBUFFER_MSG_TYPE(tcp_connect),
21
23 DEFINE_RINGBUFFER_MSG_TYPE(tcp_inbound),
24
26 DEFINE_RINGBUFFER_MSG_TYPE(tcp_outbound),
27
31
35
39 };
40}
41
43 ::tcp::tcp_start, ::tcp::ConnID, std::string);
45 ::tcp::tcp_connect, ::tcp::ConnID, std::string, std::string);
47 ::tcp::tcp_inbound, ::tcp::ConnID, serializer::ByteRange);
49 ::tcp::tcp_outbound, ::tcp::ConnID, serializer::ByteRange);
uint32_t Message
Definition ring_buffer_types.h:19
Definition msg_types.h:8
int64_t ConnID
Definition msg_types.h:9
@ DEFINE_RINGBUFFER_MSG_TYPE
Request for a new connection to a remote peer. Enclave -> Host.
Definition msg_types.h:17
#define DECLARE_RINGBUFFER_MESSAGE_PAYLOAD(MTYPE,...)
Definition ring_buffer_types.h:179
Definition serializer.h:27