0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002
0003 .. _net:
0004
0005 ######################
0006 Digital TV Network API
0007 ######################
0008
0009 The Digital TV net device controls the mapping of data packages that are part
0010 of a transport stream to be mapped into a virtual network interface,
0011 visible through the standard Linux network protocol stack.
0012
0013 Currently, two encapsulations are supported:
0014
0015 - `Multi Protocol Encapsulation (MPE) <http://en.wikipedia.org/wiki/Multiprotocol_Encapsulation>`__
0016
0017 - `Ultra Lightweight Encapsulation (ULE) <http://en.wikipedia.org/wiki/Unidirectional_Lightweight_Encapsulation>`__
0018
0019 In order to create the Linux virtual network interfaces, an application
0020 needs to tell to the Kernel what are the PIDs and the encapsulation
0021 types that are present on the transport stream. This is done through
0022 ``/dev/dvb/adapter?/net?`` device node. The data will be available via
0023 virtual ``dvb?_?`` network interfaces, and will be controlled/routed via
0024 the standard ip tools (like ip, route, netstat, ifconfig, etc).
0025
0026 Data types and ioctl definitions are defined via ``linux/dvb/net.h``
0027 header.
0028
0029
0030 .. _net_fcalls:
0031
0032 Digital TV net Function Calls
0033 #############################
0034
0035 .. toctree::
0036 :maxdepth: 1
0037
0038 net-types
0039 net-add-if
0040 net-remove-if
0041 net-get-if