mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
eitd: remove NIT/BAT sections headers
This commit is contained in:
@@ -59,80 +59,6 @@ struct SI_section_SDT_header {
|
||||
unsigned reserved_future_use2 : 8;
|
||||
} __attribute__ ((packed)) ; // 11 bytes
|
||||
|
||||
struct SI_section_NIT_header {
|
||||
unsigned table_id : 8;
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
unsigned section_syntax_indicator : 1;
|
||||
unsigned reserved_future_use : 1;
|
||||
unsigned reserved1 : 2;
|
||||
unsigned section_length_hi : 4;
|
||||
#else
|
||||
unsigned section_length_hi : 4;
|
||||
unsigned reserved1 : 2;
|
||||
unsigned reserved_future_use : 1;
|
||||
unsigned section_syntax_indicator : 1;
|
||||
#endif
|
||||
unsigned section_length_lo : 8;
|
||||
unsigned network_id_hi : 8;
|
||||
unsigned network_id_lo : 8;
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
unsigned reserved2 : 2;
|
||||
unsigned version_number : 5;
|
||||
unsigned current_next_indicator : 1;
|
||||
#else
|
||||
unsigned current_next_indicator : 1;
|
||||
unsigned version_number : 5;
|
||||
unsigned reserved2 : 2;
|
||||
#endif
|
||||
unsigned section_number : 8;
|
||||
unsigned last_section_number : 8;
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
unsigned reserved_future_use2 : 4;
|
||||
unsigned network_descriptors_length_hi : 4;
|
||||
#else
|
||||
unsigned network_descriptors_length_hi : 4;
|
||||
unsigned reserved_future_use2 : 4;
|
||||
#endif
|
||||
unsigned network_descriptors_length_lo : 8;
|
||||
} __attribute__ ((packed)) ; // 10 bytes
|
||||
|
||||
struct SI_section_BAT_header {
|
||||
unsigned table_id : 8;
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
unsigned section_syntax_indicator : 1;
|
||||
unsigned reserved_future_use : 1;
|
||||
unsigned reserved1 : 2;
|
||||
unsigned section_length_hi : 4;
|
||||
#else
|
||||
unsigned section_length_hi : 4;
|
||||
unsigned reserved1 : 2;
|
||||
unsigned reserved_future_use : 1;
|
||||
unsigned section_syntax_indicator : 1;
|
||||
#endif
|
||||
unsigned section_length_lo : 8;
|
||||
unsigned bouquet_id_hi : 8;
|
||||
unsigned bouquet_id_lo : 8;
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
unsigned reserved2 : 2;
|
||||
unsigned version_number : 5;
|
||||
unsigned current_next_indicator : 1;
|
||||
#else
|
||||
unsigned current_next_indicator : 1;
|
||||
unsigned version_number : 5;
|
||||
unsigned reserved2 : 2;
|
||||
#endif
|
||||
unsigned section_number : 8;
|
||||
unsigned last_section_number : 8;
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
unsigned reserved_future_use2 : 4;
|
||||
unsigned bouquet_descriptors_length_hi : 4;
|
||||
#else
|
||||
unsigned bouquet_descriptors_length_hi : 4;
|
||||
unsigned reserved_future_use2 : 4;
|
||||
#endif
|
||||
unsigned bouquet_descriptors_length_lo : 8;
|
||||
} __attribute__ ((packed)) ; // 10 bytes
|
||||
|
||||
struct SI_section_EIT_header {
|
||||
unsigned table_id : 8;
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
|
Reference in New Issue
Block a user