Struct:ipv6 mreq

Jump to: navigation, search
#include trsocket.h
struct ipv6_mreq
    struct in6_addr ipv6mr_multiaddr;
    unsigned int    ipv6mr_interface;

Structure Description

Refer to [RFC 2553]. Data structure required by the BSD socket API used to join and leave IPv6 multicast groups.


  • ipv6mr_multiaddr
    IPv6 multicast address of the multicast group you want to join/leave.
  • ipv6mr_interface
    Interface index of the interface that you want to enable/disable receiving multicasts on for the specified multicast group.