Jump to: navigation, search

Table of Contents >> Programmer's Reference

#include <trsocket.h>

int tfUserRegisterIgmpFilter (ttUserIgmpFilterCallback igmpFilterCallback);

Function Description

This function registers one user IGMP filter callback ttUserIgmpFilterCallback which is used for additional packet processing.


To register the user IGMP filter callback, create the appropriate context and supply the user-defined callback function in the format given by ttUserIgmpFilterCallback. Call tfUserRegisterIgmpFilter() with this function as a parameter. Use the new parameters for tfInterfaceSetOptions() to control interface-based enabling/disabling of filtering functionality.

Note Note: This user filter callback function cannot be replaced, however filtering can be enabled/disabled for each interface.


    The new filter was registered.
    A filter has already been registered.

Table of Contents >> Programmer's Reference