Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
ipc_helpers.hpp File Reference
#include <sysio/chain/webassembly/sys-vm-oc/ipc_protocol.hpp>
#include <boost/asio/local/datagram_protocol.hpp>
#include <vector>
#include <sys/syscall.h>
#include <linux/memfd.h>
Include dependency graph for ipc_helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sysio::chain::eosvmoc::wrapped_fd
 

Namespaces

namespace  sysio
 
namespace  sysio::chain
 
namespace  sysio::chain::eosvmoc
 

Functions

std::tuple< bool, eosvmoc_message, std::vector< wrapped_fd > > sysio::chain::eosvmoc::read_message_with_fds (boost::asio::local::datagram_protocol::socket &s)
 
std::tuple< bool, eosvmoc_message, std::vector< wrapped_fd > > sysio::chain::eosvmoc::read_message_with_fds (int fd)
 
bool sysio::chain::eosvmoc::write_message_with_fds (boost::asio::local::datagram_protocol::socket &s, const eosvmoc_message &message, const std::vector< wrapped_fd > &fds=std::vector< wrapped_fd >())
 
bool sysio::chain::eosvmoc::write_message_with_fds (int fd_to_send_to, const eosvmoc_message &message, const std::vector< wrapped_fd > &fds=std::vector< wrapped_fd >())
 
template<typename T >
wrapped_fd sysio::chain::eosvmoc::memfd_for_bytearray (const T &bytes)
 
std::vector< uint8_tsysio::chain::eosvmoc::vector_for_memfd (const wrapped_fd &memfd)