1RDMA_REJECT(3) Librdmacm Programmer's Manual RDMA_REJECT(3)
2
3
4
6 rdma_reject - Called to reject a connection request.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_reject (struct rdma_cm_id *id, const void *private_data,
12 uint8_t private_data_len);
13
15 id Connection identifier associated with the request.
16
17 private_data
18 Optional private data to send with the reject message.
19
20 private_data_len
21 Specifies the size of the user-controlled data buffer.
22 Note that the actual amount of data transferred to the
23 remote side is transport dependent and may be larger than
24 that requested.
25
27 Called from the listening side to reject a connection or datagram ser‐
28 vice lookup request.
29
31 Returns 0 on success, or -1 on error. If an error occurs, errno will
32 be set to indicate the failure reason.
33
35 After receiving a connection request event, a user may call rdma_reject
36 to reject the request. If the underlying RDMA transport supports pri‐
37 vate data in the reject message, the specified data will be passed to
38 the remote side.
39
41 rdma_listen(3), rdma_accept(3), rdma_get_cm_event(3)
42
43
44
45librdmacm 2007-05-15 RDMA_REJECT(3)