Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ibv_attach_mcast(3) [debian man page]

IBV_ATTACH_MCAST(3)					  Libibverbs Programmer's Manual				       IBV_ATTACH_MCAST(3)

NAME
ibv_attach_mcast, ibv_detach_mcast - attach and detach a queue pair (QPs) to/from a multicast group SYNOPSIS
#include <infiniband/verbs.h> int ibv_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); int ibv_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); DESCRIPTION
ibv_attach_mcast() attaches the QP qp to the multicast group having MGID gid and MLID lid. ibv_detach_mcast() detaches the QP qp to the multicast group having MGID gid and MLID lid. RETURN VALUE
ibv_attach_mcast() and ibv_detach_mcast() returns 0 on success, or the value of errno on failure (which indicates the failure reason). NOTES
Only QPs of Transport Service Type IBV_QPT_UD may be attached to multicast groups. If a QP is attached to the same multicast group multiple times, the QP will still receive a single copy of a multicast message. In order to receive multicast messages, a join request for the multicast group must be sent to the subnet administrator (SA), so that the fabric's multicast routing is configured to deliver messages to the local port. SEE ALSO
ibv_create_qp(3) AUTHORS
Dotan Barak <dotanba@gmail.com> libibverbs 2006-10-31 IBV_ATTACH_MCAST(3)

Check Out this Related Man Page

IBV_ATTACH_MCAST(3)					  Libibverbs Programmer's Manual				       IBV_ATTACH_MCAST(3)

NAME
ibv_attach_mcast, ibv_detach_mcast - attach and detach a queue pair (QPs) to/from a multicast group SYNOPSIS
#include <infiniband/verbs.h> int ibv_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); int ibv_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); DESCRIPTION
ibv_attach_mcast() attaches the QP qp to the multicast group having MGID gid and MLID lid. ibv_detach_mcast() detaches the QP qp to the multicast group having MGID gid and MLID lid. RETURN VALUE
ibv_attach_mcast() and ibv_detach_mcast() returns 0 on success, or the value of errno on failure (which indicates the failure reason). NOTES
Only QPs of Transport Service Type IBV_QPT_UD may be attached to multicast groups. If a QP is attached to the same multicast group multiple times, the QP will still receive a single copy of a multicast message. In order to receive multicast messages, a join request for the multicast group must be sent to the subnet administrator (SA), so that the fabric's multicast routing is configured to deliver messages to the local port. SEE ALSO
ibv_create_qp(3) AUTHORS
Dotan Barak <dotanba@gmail.com> libibverbs 2006-10-31 IBV_ATTACH_MCAST(3)
Man Page

10 More Discussions You Might Find Interesting

1. 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

2. AIX

Re: User assigned to privileged group

Hi! I need to know what is the risk involved if a user with UID >100 is attached to a group with gid =1 .i.e., a user is attached to a priviliged group in AIX . Kindly let me know what security implication can arise in this case? Early reply in this regard will be highly appreciated. (1 Reply)
Discussion started by: faraz82
1 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. HP-UX

How to multicast on different IP network

Hi, there On HP-UX, I want to multicast packets on two different IP network repectively. The two NIC are configured with two different IP. The routes are added with one default and one net for each IP . The multisender programs bind their own local IP, multireceiver programs add the... (0 Replies)
Discussion started by: Frank2004
0 Replies

6. 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

7. 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

8. UNIX for Advanced & Expert Users

Tracking down the problem

Is there a way to track down what process is sending to a certain port? I have some thing pounding the network with requests to a multicast IP that doesn't exist. I have shut down all comms related processes and yet it is still there. Need a way to track the port or IP back to the process. Thanks... (3 Replies)
Discussion started by: mattmanuel
3 Replies

9. IP Networking

pimd

hi all i need some info regrading protocol independent multicast(PIM)......i'm using rhel5......it is better if anyone having executable file for pimd...... (1 Reply)
Discussion started by: sagar_md
1 Replies

10. Red Hat

pimd

hi all i need some info regrading protocol independent multicast(PIM)......i'm using rhel5......it is better if anyone having executable file for pimd...... (1 Reply)
Discussion started by: sagar_md
1 Replies