DOKK / manpages / debian 12 / libibumad-dev / umad_status.3.en
UMAD_STATUS(3) OpenIB Programmer's Manual UMAD_STATUS(3)

umad_status - get the status of a umad buffer

#include <infiniband/umad.h>

int umad_status(void *umad);

umad_status() get the internal umad status field.

After a packet is received, umad_status() returns 0 on a successful receive, or a non zero status. ETIMEDOUT means that the packet had a send-timeout indication. In this case, the transaction ID will be set to the TID of the original request.

May 17, 2007 OpenIB