14 #ifndef PHOTON_BUFFER_H 15 #define PHOTON_BUFFER_H uint64_t photon_rid
The Photon request ID.
int photon_unregister_buffer(void *addr, uint64_t size)
uint64_t size
The size of the buffer in bytes.
int photon_get_buffer_remote(photon_rid request, photonBuffer ret_buf)
int photon_register_buffer(void *addr, uint64_t size)
Convenience pointer type for the private buffer structure.
int photon_get_buffer_private(void *addr, uint64_t size, const struct photon_buffer_priv_t **pptr)
uintptr_t addr
The base address of the buffer.