#include <dshm.h> unsigned long dshm_bufindex(dshm_handle_t handle, const void* bufp);
unsigned long dshm_bufindex(dshm_handle_t handle, const void* bufp);