1UMAD_ADDR_DUMP(3) OpenIB Programmer's Manual UMAD_ADDR_DUMP(3)
2
3
4
6 umad_addr_dump - dump addr structure to stderr
7
9 #include <infiniband/umad.h>
10
11 void umad_addr_dump(ib_mad_addr_t *addr);
12
14 umad_addr_dump() dumps the given addr to stderr. The argument addr is
15 an ib_mad_addr_t struct, as specified in <infiniband/umad.h>.
16
17 typedef struct ib_mad_addr {
18 uint32_t qpn;
19 uint32_t qkey;
20 uint16_t lid;
21 uint8_t sl;
22 uint8_t path_bits;
23 uint8_t grh_present;
24 uint8_t gid_index;
25 uint8_t hop_limit;
26 uint8_t traffic_class;
27 uint8_t gid[16];
28 uint32_t flow_label;
29 } ib_mad_addr_t;
30
32 umad_addr_dump() returns no value.
33
35 Hal Rosenstock <halr@voltaire.com>
36
37
38
39OpenIB May 21, 2007 UMAD_ADDR_DUMP(3)