dvb_gse/
lib.rs

1//! DVB-GSE.
2//!
3//! This crate implements the DVB GSE (Generic Stream Encapsulation) protocol,
4//! GSE-HEM, and related protocols.
5//!
6//! It is mainly intended to be used as a CLI application that receives BBFRAMEs
7//! in UDP or TCP packets from a DVB-S2 receiver (such as
8//! [Longmynd](https://github.com/BritishAmateurTelevisionClub/longmynd) or
9//! commercial receivers supporting BBFRAME output), obtains IP packets from a
10//! continous-mode GSE stream or a GSE-HEM stream, and sends the IP packets to a
11//! TUN device.
12//!
13//! The crate can also be used as a library to process GSE Packets and
14//! DVB-S2/DVB-S2X BBFRAMES.
15
16#![warn(missing_docs)]
17
18type BitSlice = bitvec::slice::BitSlice<u8, bitvec::order::Msb0>;
19
20pub mod bbframe;
21pub mod bbheader;
22pub mod gseheader;
23pub mod gsepacket;
24
25#[cfg(feature = "cli")]
26pub mod cli;