struct dmx_section_feed — Structure that contains a section feed filter
struct dmx_section_feed { int is_filtering; struct dmx_demux * parent; void * priv; int check_crc; int (* set) (struct dmx_section_feed *feed,u16 pid,size_t circular_buffer_size,int check_crc); int (* allocate_filter) (struct dmx_section_feed *feed,struct dmx_section_filter **filter); int (* release_filter) (struct dmx_section_feed *feed,struct dmx_section_filter *filter); int (* start_filtering) (struct dmx_section_feed *feed); int (* stop_filtering) (struct dmx_section_feed *feed); };
Set to non-zero when filtering in progress
pointer to struct dmx_demux
pointer to private data of the API client
If non-zero, check the CRC values of filtered sections.
sets the section filter
This function is used to allocate a section filter on the demux. It should only be called when no filtering is in progress on this section feed. If a filter cannot be allocated, the function fails with -ENOSPC.
This function releases all the resources of a previously allocated section filter. The function should not be called while filtering is in progress on this section feed. After calling this function, the caller should not try to dereference the filter pointer.
starts section filtering
stops section filtering