Struct:ip msfilter

Jump to: navigation, search
 
#include <trsocket.h>
 
/*
 * Structure pointed to by the 3rd parameter of tfIoctl() when
 * the second parameter is either SIOCGIPMSFILTER, or SIOCSIPMSFILTER.
 */
struct ip_msfilter
{
   struct in_addr imsf_multiaddr;  /* IP multicast address of group */
   struct in_addr imsf_interface;  /* local IP address of interface */
   ttUser32Bit    imsf_fmode;      /* filter mode (either MCAST_INCLUDE
                                      or MCAST_EXCLUDE) */
   ttUser32Bit    imsf_numsrc;     /* number of sources in src_list */
   struct in_addr imsf_slist[1];   /* start of source list */
};