Barrelfish
|
Unidirectional bulk data transfer via shared memory. More...
Functions | |
errval_t | bulk_net_ep_create (struct bulk_net_endpoint_descriptor *ep_desc, struct bulk_net_ep_setup *setup) |
errval_t | bulk_net_ep_destroy (struct bulk_net_endpoint_descriptor *ep_desc) |
errval_t | bulk_net_ep_create_remote (struct bulk_net_endpoint_descriptor *ep_desc, struct bulk_net_ep_setup *setup) |
Unidirectional bulk data transfer via shared memory.
errval_t bulk_net_ep_create | ( | struct bulk_net_endpoint_descriptor * | ep_desc, |
struct bulk_net_ep_setup * | setup | ||
) |
Creates a new bulk endpoint which uses the network backend
ep_desc | memory location to create the endpoint in |
setup | the setup parameters for the endpoint |
This function is intended to be used by the creator.
errval_t bulk_net_ep_create_remote | ( | struct bulk_net_endpoint_descriptor * | ep_desc, |
struct bulk_net_ep_setup * | setup | ||
) |
Explicitly creates a specific remote endpoint
ep_desc | memory location to create the endpoint |
ip | the ip of the server machine |
port | the port where the otherside listens to |
This is used to explicitly specify an endpoint to connect to. In the end, a nameservice like lookup should return the correct endpoint descriptor.
errval_t bulk_net_ep_destroy | ( | struct bulk_net_endpoint_descriptor * | ep_desc | ) |
Destroys the given endpoint
ep_desc | the endpoint to be destroyed |