senf::INet6MulticastSocketProtocol Class Reference
[Protocol Facets]

Multicast protocol facet for INet6 addressable multicast enabled sockets. More...

#include <senf/Socket/Protocols/INet/MulticastSocketProtocol.hh>

Inheritance diagram for senf::INet6MulticastSocketProtocol:
Inheritance graph
[legend]

List of all members.


Detailed Description

Multicast protocol facet for INet6 addressable multicast enabled sockets.

This implementation supports INet6 mapped INet4 multicast addresses. This is a linux specific extension and NOT part of the relevant RFCs.

Definition at line 162 of file MulticastSocketProtocol.hh.


Public Member Functions

void  mcAddMembership (INet6Address const &mcAddr) const
  Join multicast group on default interface.
void  mcAddMembership (INet6Address const &mcAddr, std::string const &iface) const
  join multicast group on a specific interface
void  mcDropMembership (INet6Address const &mcAddr) const
  Leave multicast group.
void  mcDropMembership (INet6Address const &mcAddr, std::string const &iface) const
  leave multicast group on a specific interface
void  mcJoinSSMSource (INet6Address const &group, INet6Address const &source, std::string const &iface) const
  join SSM multicast group
void  mcJoinSSMSource (INet6Address const &group, INet6Address const &source, int ifacei=0) const
  join SSM multicast group
void  mcLeaveSSMSource (INet6Address const &group, INet6Address const &source, std::string const &iface) const
  leave SSM multicast group

Member Function Documentation

void senf::INet6MulticastSocketProtocol::
mcAddMembership ( INet6Address const &  mcAddr,
std::string const &  iface )

join multicast group on a specific interface

This member will add mcAddr to the list of multicast groups received. The group is joined on the given interface.

Parameters:
[in]  mcAddr  address of group to join
[in]  iface  interface name

Definition at line 243 of file MulticastSocketProtocol.cc.

void senf::INet6MulticastSocketProtocol::
mcAddMembership ( INet6Address const &  mcAddr )

Join multicast group on default interface.

This member will add mcAddr to the list of multicast groups received. The group is joined on the default interface.

Parameters:
[in]  mcAddr  address of group to join

Definition at line 223 of file MulticastSocketProtocol.cc.

void senf::INet6MulticastSocketProtocol::
mcDropMembership ( INet6Address const &  mcAddr,
std::string const &  iface )

leave multicast group on a specific interface

This member will remove mcAddr from the list of multicast groups received. The group is left from the interface with the given local address.

Parameters:
[in]  mcAddr  address of group to leave
[in]  iface  interface name

Definition at line 289 of file MulticastSocketProtocol.cc.

void senf::INet6MulticastSocketProtocol::
mcDropMembership ( INet6Address const &  mcAddr )

Leave multicast group.

This member will remove mcAddr from the list of multicast groups received. The group is left from the default interface.

Parameters:
[in]  mcAddr  address of group to leave

Definition at line 268 of file MulticastSocketProtocol.cc.

void senf::INet6MulticastSocketProtocol::
mcJoinSSMSource ( INet6Address const &  group,
INet6Address const &  source,
int  ifacei = 0 )

join SSM multicast group

This call will join the multicast group group for traffic from source. A single group may be joined multiple times on different sources.

Parameters:
[in]  group  multicast group to join
[in]  source  SSM multicast source to join the group on
[in]  ifacei  optional interface index to join the group on

Definition at line 354 of file MulticastSocketProtocol.cc.

void senf::INet6MulticastSocketProtocol::
mcJoinSSMSource ( INet6Address const &  group,
INet6Address const &  source,
std::string const &  iface )

join SSM multicast group

This call will join the multicast group group for traffic from source. A single group may be joined multiple times on different sources.

Parameters:
[in]  group  multicast group to join
[in]  source  SSM multicast source to join the group on
[in]  iface  interface to join the group on. If set to the empty string, use the default interface.

Definition at line 346 of file MulticastSocketProtocol.cc.

void senf::INet6MulticastSocketProtocol::
mcLeaveSSMSource ( INet6Address const &  group,
INet6Address const &  source,
std::string const &  iface )

leave SSM multicast group

This call will leave the multicast group group for traffic from source.

Parameters:
[in]  group  multicast group to leave
[in]  source  SSM multicast source to leave the group from
[in]  iface  interface to leave the group on

Definition at line 362 of file MulticastSocketProtocol.cc.


The documentation for this class was generated from the following files: