]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/management/libibumad/man/umad_set_addr.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.3
1 .\" -*- nroff -*-
2 .\"
3 .TH UMAD_SET_ADDR 3  "May 17, 2007" "OpenIB" "OpenIB Programmer\'s Manual"
4 .SH "NAME"
5 umad_set_addr \- set MAD address fields within umad buffer using host ordering
6 .SH "SYNOPSIS"
7 .nf
8 .B #include <infiniband/umad.h>
9 .sp
10 .BI "int umad_set_addr(void " "*umad" ", int " "dlid" ", int " "dqp" ", int " "sl" ", int " "qkey");
11 .fi
12 .SH "DESCRIPTION"
13 .B umad_set_addr()
14 sets the MAD address fields within the specified
15 .I umad\fR
16 buffer using the provided host 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()
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_net (3)
31 .SH "AUTHOR"
32 .TP
33 Hal Rosenstock <halr@voltaire.com>