nit.h - Man Page

Provides the descriptors for NIT MPEG-TS table.


#include <stdint.h>
#include <unistd.h>
#include <libdvbv5/header.h>
#include <libdvbv5/descriptors.h>

Data Structures

union dvb_table_nit_transport_header
MPEG-TS NIT transport header.
struct dvb_table_nit_transport
MPEG-TS NIT transport table.
struct dvb_table_nit
MPEG-TS NIT table.


NIT table ID.
#define DVB_TABLE_NIT2
NIT table ID (alternative table ID)
NIT Program ID.
#define dvb_nit_transport_foreach(_tran,  _nit)
Macro used to find a transport inside a NIT table.


typedef 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
typedef 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


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.
void dvb_table_nit_free (struct dvb_table_nit *table)
Frees all data allocated by the NIT table parser.
void dvb_table_nit_print (struct dvb_v5_fe_parms *parms, struct dvb_table_nit *table)
Prints the content of the NIT table.
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.

Detailed Description

Provides the descriptors for NIT MPEG-TS table.


GNU Lesser General Public License version 2.1 (LGPLv2.1)


Mauro Carvalho Chehab

Andre Roth

Bug Report

Please submit bug report and patches to

Relevant specs

The table described herein is defined at:

  • ISO/IEC 13818-1
  • ETSI EN 300 468
Bug Report

Please submit bug reports and patches to

Definition in file nit.h.


Generated automatically by Doxygen for libdvbv5 from the source code.


1.25.0" libdvbv5