tfUserRegisterIgmpFilter
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.
Usage
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.
| This user filter callback function cannot be replaced, however filtering can be enabled/disabled for each interface. |
Returns
- TM_ENOERROR
- The new filter was registered.
- TM_EALREADY
- A filter has already been registered.