3 .TH UMAD_SET_ADDR_NET 3 "May 21, 2007" "OpenIB" "OpenIB Programmer\'s Manual"
5 umad_set_addr_net \- set MAD address fields within umad buffer using network ordering
8 .B #include <infiniband/umad.h>
10 .BI "int umad_set_addr_net(void " "*umad" ", int " "dlid" ", int " "dqp" ", int " "sl" ", int " "qkey");
13 .B umad_set_addr_net()
14 sets the MAD address fields within the specified
16 buffer using the provided network ordered fields.
18 is the destination LID.
20 is the destination QP (queue pair).
22 is the SL (service level).
24 is the Q_Key (queue key).
26 .B umad_set_addr_net()
27 returns 0 on success, and a negative value on errors. Currently, there
28 are no errors indicated.
33 Hal Rosenstock <halr@voltaire.com>