rdma_query_addrinfo(3) — Linux manual page

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | RETURN VALUE | NOTES | SEE ALSO | AUTHOR | COLOPHON

RDMA_QU...ADDRINFO(3) Librdmacm Programmer's Manual RDMA_QU...ADDRINFO(3)

NAME         top

       RDMA_QUERY_ADDRINFO - Query the resolved address information.

SYNOPSIS         top

       #include <rdma/rdma_cma.h>

       int rdma_query_addrinfo(struct rdma_cm_id *id, struct
       rdma_addrinfo **info);

ARGUMENTS         top

       id      RDMA identifier.

       info    A pointer to a linked list of rdma_addrinfo structures
       containing resolved information.

DESCRIPTION         top

       This function retrieves the resulting rdma_addrinfo structures
       from a successful rdma_resolve_addrinfo() operation.

RETURN VALUE         top

       On success 0 is returned, info contains a resolved address
       information On error -1 is returned, errno will be set to indicate
       the failure reason.

NOTES         top

       The info must be released with rdma_freeaddrinfo(3)

SEE ALSO         top

       rdma_getaddrinfo(3), rdma_freeaddrinfo(3),
       rdma_resolve_addrinfo(3)

AUTHOR         top

       Mark Zhang < <markzhang@nvidia.com> >

COLOPHON         top

       This page is part of the rdma-core (RDMA Core Userspace Libraries
       and Daemons) project.  Information about the project can be found
       at ⟨https://github.com/linux-rdma/rdma-core⟩.  If you have a bug
       report for this manual page, send it to
       linux-rdma@vger.kernel.org.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2026-01-16.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2026-01-15.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there is
       a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

                                2025-02-06          RDMA_QU...ADDRINFO(3)

Pages that refer to this page: rdma_resolve_addrinfo(3)rdma_cm(7)