Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rdma_join_multicast(3) [debian man page]

RDMA_JOIN_MULTICAST(3)					   Librdmacm Programmer's Manual				    RDMA_JOIN_MULTICAST(3)

NAME
rdma_join_multicast - Joins a multicast group. SYNOPSIS
#include <rdma/rdma_cma.h> int rdma_join_multicast (struct rdma_cm_id *id, struct sockaddr *addr, void *context); ARGUMENTS
id Communication identifier associated with the request. addr Multicast address identifying the group to join. context User-defined context associated with the join request. DESCRIPTION
Joins a multicast group and attaches an associated QP to the group. RETURN VALUE
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason. NOTES
Before joining a multicast group, the rdma_cm_id must be bound to an RDMA device by calling rdma_bind_addr or rdma_resolve_addr. Use of rdma_resolve_addr requires the local routing tables to resolve the multicast address to an RDMA device, unless a specific source address is provided. The user must call rdma_leave_multicast to leave the multicast group and release any multicast resources. After the join opera- tion completes, if a QP is associated with the rdma_cm_id, it is automatically attached to the multicast group when the multicast event is retrieved by the user. Otherwise, the user is responsible for calling ibv_attach_mcast to bind the QP to the multicast group. The join context is returned to the user through the private_data field in the rdma_cm_event. SEE ALSO
rdma_leave_multicast(3), rdma_bind_addr(3), rdma_resolve_addr(3), rdma_create_qp(3), rdma_get_cm_event(3) librdmacm 2008-01-02 RDMA_JOIN_MULTICAST(3)

Check Out this Related Man Page

RDMA_BIND_ADDR(3)					   Librdmacm Programmer's Manual					 RDMA_BIND_ADDR(3)

NAME
rdma_bind_addr - Bind an RDMA identifier to a source address. SYNOPSIS
#include <rdma/rdma_cma.h> int rdma_bind_addr (struct rdma_cm_id *id, struct sockaddr *addr); ARGUMENTS
id RDMA identifier. addr Local address information. Wildcard values are permitted. DESCRIPTION
Associates a source address with an rdma_cm_id. The address may be wildcarded. If binding to a specific local address, the rdma_cm_id will also be bound to a local RDMA device. RETURN VALUE
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason. NOTES
Typically, this routine is called before calling rdma_listen to bind to a specific port number, but it may also be called on the active side of a connection before calling rdma_resolve_addr to bind to a specific address. If used to bind to port 0, the rdma_cm will select an available port, which can be retrieved with rdma_get_src_port(3). SEE ALSO
rdma_create_id(3), rdma_listen(3), rdma_resolve_addr(3), rdma_create_qp(3), rdma_get_local_addr(3), rdma_get_src_port(3) librdmacm 2007-05-15 RDMA_BIND_ADDR(3)
Man Page

8 More Discussions You Might Find Interesting

1. Programming

Network programming

Hi, I`m trying to do some multicast programming, and i`m looking for a C-function to convert an Interfacename to an IP-address or/and a C-function to convert an Interfaceindex to an IP-address. I need it for the mcast_set_if(int sockfd, const char *ifname (!), u_int ifindex(!)) function by... (2 Replies)
Discussion started by: darkspace
2 Replies

2. Programming

Joining multicast group on IPADDR_ANY - which interface?

Hello all, I have the following question: if you join a multicast group (with setsockopt() and IP_ADD_MEMBERSHIP) and specify INADDR_ANY as network interface to join on, the kernel is supposed to choose which interface to use (if there are multiple network interfaces, of course). Does... (2 Replies)
Discussion started by: AlexI
2 Replies

3. Solaris

How to assign multicast IP address

How can I assign multicast ip address to my Sun server. I need this configuration to set up weblogic in cluster mode. This setup needs a multicast IP address where the managed servers can broadcast their heartbeats. Thanks (0 Replies)
Discussion started by: krishan
0 Replies

4. HP-UX

multicast data can not receive

On HP-UX, we want to exchange data via multicast, there happen to meet a problem: sometimes the receiver that has joined the group can not receive the multicast data, but the recvfrom call returned no error. We have reconfig the network and added the default the route, but still can not fixed it,... (0 Replies)
Discussion started by: Frank2004
0 Replies

5. Solaris

Multi_bcast Problem

We have a solaris 9 box which is likely not communicating with the other host in the multicast group. executing ifconfig -a shows MULTI_BCAST Flag on interface ce0 ce0: flags=9041843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 4 inet... (2 Replies)
Discussion started by: MarkyBoy
2 Replies

6. Solaris

multicast config

On SUN Solaris 10, if I want to multicast packets between nodes, whether it must config the multicast IP from OS, if yes, how to do it? (0 Replies)
Discussion started by: Frank2004
0 Replies

7. Solaris

Multicast address config lost

On Solaris OS, We use the following command to config the multicast address for NIC in order to process the multicast packets: # route add 228.228.228.228 10.101.10.2 Where " 228.228.228.228 " is the multicast for specified NIC ip 10.101.10.2 . Also use the netstat -nr, the above set could... (0 Replies)
Discussion started by: Frank2004
0 Replies

8. IP Networking

Multicast IP address

Hi please help, theoretically I',m interested in starting a streaming service using multicast IP service. I'd like to know how do I get an IP address that I can send my data too? (please don't just point me too Internet Assigned Numbers Authority as ive been there and it just seem to state... (1 Reply)
Discussion started by: fishman2001
1 Replies