| 1 | --- |
| 2 | date: 2006-10-31 |
| 3 | footer: libibverbs |
| 4 | header: "Libibverbs Programmer's Manual" |
| 5 | layout: page |
| 6 | license: 'Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md' |
| 7 | section: 3 |
| 8 | title: IBV_GET_DEVICE_GUID |
| 9 | --- |
| 10 | |
| 11 | # NAME |
| 12 | |
| 13 | ibv_get_device_guid - get an RDMA device's GUID |
| 14 | |
| 15 | # SYNOPSIS |
| 16 | |
| 17 | ```c |
| 18 | #include <infiniband/verbs.h> |
| 19 | |
| 20 | uint64_t ibv_get_device_guid(struct ibv_device *device); |
| 21 | ``` |
| 22 | |
| 23 | # DESCRIPTION |
| 24 | |
| 25 | **ibv_get_device_guid()** returns the Global Unique IDentifier (GUID) of the |
| 26 | RDMA device *device*. |
| 27 | |
| 28 | # RETURN VALUE |
| 29 | |
| 30 | **ibv_get_device_guid()** returns the GUID of the device in network byte |
| 31 | order. |
| 32 | |
| 33 | # SEE ALSO |
| 34 | **ibv_get_device_index**(3), |
| 35 | **ibv_get_device_list**(3), |
| 36 | **ibv_get_device_name**(3), |
| 37 | **ibv_open_device**(3) |
| 38 | |
| 39 | # AUTHOR |
| 40 | |
| 41 | Dotan Barak <[email protected]> |