]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/management/libibumad/man/umad_set_addr_net.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / management / libibumad / man / umad_set_addr_net.3
1 .\" -*- nroff -*-
2 .\"
3 .TH UMAD_SET_ADDR_NET 3  "May 21, 2007" "OpenIB" "OpenIB Programmer\'s Manual"
4 .SH "NAME"
5 umad_set_addr_net \- set MAD address fields within umad buffer using network ordering
6 .SH "SYNOPSIS"
7 .nf
8 .B #include <infiniband/umad.h>
9 .sp
10 .BI "int umad_set_addr_net(void " "*umad" ", int " "dlid" ", int " "dqp" ", int " "sl" ", int " "qkey");
11 .fi
12 .SH "DESCRIPTION"
13 .B umad_set_addr_net()
14 sets the MAD address fields within the specified
15 .I umad\fR
16 buffer using the provided network ordered fields.
17 .I dlid\fR
18 is the destination LID.
19 .I dqp\fR
20 is the destination QP (queue pair).
21 .I sl\fR
22 is the SL (service level).
23 .I qkey\fR
24 is the Q_Key (queue key).
25 .SH "RETURN VALUE"
26 .B umad_set_addr_net()
27 returns 0 on success, and a negative value on errors. Currently, there
28 are no errors indicated.
29 .SH "SEE ALSO"
30 .BR umad_set_addr (3)
31 .SH "AUTHOR"
32 .TP
33 Hal Rosenstock <halr@voltaire.com>