Packet client interface implementation for standalone remote modules. More...
#include <async.h>
#include <errno.h>
#include <ipc/ipc.h>
#include <sys/mman.h>
#include "../../err.h"
#include "../../messages.h"
#include "packet.h"
#include "packet_client.h"
#include "packet_header.h"
#include "packet_messages.h"
Functions | |
int | packet_return (int phone, packet_ref packet, packet_id_t packet_id, size_t size) |
Obtains the packet from the packet server as the shared memory block. | |
Packet client interface | |
int | packet_translate (int phone, packet_ref packet, packet_id_t packet_id) |
Translates the packet identifier to the packet reference. | |
packet_t | packet_get_4 (int phone, size_t max_content, size_t addr_len, size_t max_prefix, size_t max_suffix) |
Obtains the packet of the given dimensions. | |
packet_t | packet_get_1 (int phone, size_t content) |
Obtains the packet of the given content size. | |
void | pq_release (int phone, packet_id_t packet_id) |
Releases the packet queue. |
Packet client interface implementation for standalone remote modules.