ps.c
Go to the documentation of this file.
135 ((struct sockaddr_in*)vnode->binding.primary)->sin_addr = *padico_topo_host_getaddr(padico_topo_getlocalhost());
362 padico_warning("received connection with bad magic number i=%d (received: %c%c%c%c; expected: %c%c%c%c\n",
assert(slab_size > 0)
#define PS_DEFAULT_BLOCK_SIZE
The default block size for interleaving.
Definition ParallelStreams-internals.h:39
#define PS_MAGIC
Magic ID for connection establishment ParallelStreams 2.0.
Definition ParallelStreams-internals.h:33
#define PS_DEFAULT_NUM_WAYS
The default number of parallel streams.
Definition ParallelStreams-internals.h:44
static void vobs_signal(padico_vnode_t vnode, vobs_attr_t attr)
signal an event to the observer.
Definition VLink-API.h:475
void padico_vsock_init(padico_vnode_t vnode, int domain, int type, int protocol)
Definition vsock.c:44
void padico_vsock_acceptor_finalize(padico_vnode_t vnode, padico_vnode_t server_vnode, const struct sockaddr *addr, int addrlen)
Adapters call this function to notify that an incoming connection has been accepted.
Definition vsock.c:272
const struct puk_component_driver_s padico_vnode_component_driver
Definition vnode.c:96
static padico_vnode_t padico_vnode_component_acceptor(padico_vnode_t vnode, puk_mod_t owner)
Clones the given instance to make a new incoming connection, from the bottom-most component.
Definition VLink-internals.h:147
#define VLINK_CREATE_SPECIFIC_ACCESSORS(NAME)
This macro creates accessors functions for component-specific status.
Definition VLink-internals.h:72
static puk_context_t padico_vnode_get_context(padico_vnode_t vnode)
Definition VLink-internals.h:111
void padico_vsock_connector_finalize(padico_vnode_t vnode)
Adapters call this function to notify the VLink_selector that an outgoing connection has been accepte...
Definition vsock.c:250
struct padico_addrkey_hash_entry_block_lfstack_s __attribute__
hint whether the queue is empty.
Definition bench_lfqueue.c:32
int padico_sysio_socket(int domain, int type, int protocol)
Definition sysio.c:604
void padico_io_activate(padico_sysio_t io)
Activates the I/O handle - when not activated, the callback is not triggered.
Definition sysio.c:278
padico_sysio_t padico_io_register(int fd, unsigned int what, padico_sysio_callback_t callback, void *key)
Registers a file descriptor for polling.
Definition sysio.c:205
ssize_t padico_sysio_read(int fildes, void *buf, ssize_t nbyte)
Definition sysio.c:620
int padico_sysio_accept(int s, struct sockaddr *addr, socklen_t *addrlen)
Definition sysio.c:784
ssize_t padico_sysio_out(int fildes, const void *buf, size_t nbyte)
Definition sysio.c:808
const struct in_addr * padico_topo_host_getaddr(padico_topo_host_t host)
Get the canonical IP address of a host.
Definition topology.c:1977
static int vlink_ps_callback_acceptor(int fd, void *key)
Definition ps.c:330
struct @25::@27 recv
struct @25::@26 send
int autobind
auto-bind request: padico_vsock_bind() will allocate a new address
Definition VLink-API.h:213