Skip to content

Commit dca0a8a

Browse files
MarkZhang81Yishai Hadas
authored and
Yishai Hadas
committed
librdmacm/man: Add the manual page for rdma_freeaddrinfo
Add the manual page for rdma_freeaddrinfo. Signed-off-by: Mark Zhang <[email protected]> Reviewed-by: Maher Sanalla <[email protected]> Signed-off-by: Yishai Hadas <[email protected]>
1 parent aac4923 commit dca0a8a

File tree

4 files changed

+49
-1
lines changed

4 files changed

+49
-1
lines changed

librdmacm/man/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ rdma_man_pages(
2323
rdma_establish.3.md
2424
rdma_event_str.3
2525
rdma_free_devices.3
26+
rdma_freeaddrinfo.3.in.rst
2627
rdma_get_cm_event.3
2728
rdma_get_devices.3
2829
rdma_get_dst_port.3

librdmacm/man/rdma_cm.7

+3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ destroy the QP
115115
release the rdma_cm_id
116116
.IP rdma_destroy_event_channel
117117
release the event channel
118+
.IP rdma_freeaddrinfo
119+
release the list of rdma_addrinfo structures
118120
.IP rdma_set_local_ece
119121
set desired ECE options
120122
.P
@@ -201,6 +203,7 @@ rdma_destroy_qp(3),
201203
rdma_disconnect(3),
202204
rdma_event_str(3),
203205
rdma_free_devices(3),
206+
rdma_freeaddrinfo(3),
204207
rdma_getaddrinfo(3),
205208
rdma_get_cm_event(3),
206209
rdma_get_devices(3),
+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
=================
2+
RDMA_FREEADDRINFO
3+
=================
4+
5+
-----------------------------------------------------------------------
6+
Frees the list of rdma_addrinfo structures returned by rdma_getaddrinfo
7+
-----------------------------------------------------------------------
8+
9+
:Date: 2025-02-03
10+
:Manual section: 3
11+
:Manual group: Librdmacm Programmer's Manual
12+
13+
14+
SYNOPSIS
15+
========
16+
17+
#include <rdma/rdma_cma.h>
18+
19+
void rdma_freeaddrinfo (struct rdma_addrinfo \*res);
20+
21+
ARGUMENTS
22+
=========
23+
24+
res List of rdma_addrinfo structures returned by rdma_getaddrinfo.
25+
26+
DESCRIPTION
27+
===========
28+
29+
Frees the list of rdma_addrinfo structures returned by rdma_getaddrinfo.
30+
31+
RETURN VALUE
32+
============
33+
34+
None
35+
36+
SEE ALSO
37+
========
38+
39+
rdma_getaddrinfo(3)
40+
41+
AUTHOR
42+
======
43+
44+
Mark Zhang <[email protected]>

librdmacm/man/rdma_getaddrinfo.3

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ Pointer to the next rdma_addrinfo structure in the list. Will be NULL
131131
if no more structures exist.
132132
.SH "SEE ALSO"
133133
rdma_create_id(3), rdma_resolve_route(3), rdma_connect(3), rdma_create_qp(3),
134-
rdma_bind_addr(3), rdma_create_ep(3)
134+
rdma_bind_addr(3), rdma_create_ep(3), rdma_freeaddrinfo(3)

0 commit comments

Comments
 (0)