61 #define DVB_TABLE_NIT 0x40
62 #define DVB_TABLE_NIT2 0x41
63 #define DVB_TABLE_NIT_PID 0x10
84 } __attribute__((packed));
85 } __attribute__((packed));
117 } __attribute__((packed));
118 } __attribute__((packed));
121 } __attribute__((packed));
150 } __attribute__((packed));
151 } __attribute__((packed));
154 } __attribute__((packed));
189 #define dvb_nit_transport_foreach( _tran, _nit ) \
190 for (struct dvb_table_nit_transport *_tran = _nit->transport; _tran; _tran = _tran->next) \
struct dvb_table_header header
MPEG-TS NIT transport table.
struct dvb_table_nit_transport * next
struct dvb_desc * descriptor
descriptors
List containing all descriptors used by Digital TV MPEG-TS.
void dvb_table_nit_free(struct dvb_table_nit *table)
Frees all data allocated by the NIT table parser.
Keeps data needed to handle the DVB frontend.
void nit_handler_callback_t(struct dvb_table_nit *nit, struct dvb_desc *desc, void *priv)
typedef for a callback used when a NIT table entry is found
ssize_t dvb_table_nit_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct dvb_table_nit **table)
Initializes and parses NIT table.
Linked list containing the several descriptors found on a MPEG-TS table.
void nit_tran_handler_callback_t(struct dvb_table_nit *nit, struct dvb_table_nit_transport *tran, struct dvb_desc *desc, void *priv)
typedef for a callback used when a NIT transport table entry is found
struct dvb_table_nit_transport * transport
void dvb_table_nit_print(struct dvb_v5_fe_parms *parms, struct dvb_table_nit *table)
Prints the content of the NIT table.
Provides a way to handle MPEG-TS descriptors found on Digital TV streams.
void dvb_table_nit_descriptor_handler(struct dvb_v5_fe_parms *parms, struct dvb_table_nit *table, enum descriptors descriptor, nit_handler_callback_t *call_nit, nit_tran_handler_callback_t *call_tran, void *priv)
For each entry at NIT and NIT transport tables, call a callback.
struct dvb_desc * descriptor