1.. Permission is granted to copy, distribute and/or modify this 2.. document under the terms of the GNU Free Documentation License, 3.. Version 1.1 or any later version published by the Free Software 4.. Foundation, with no Invariant Sections, no Front-Cover Texts 5.. and no Back-Cover Texts. A copy of the license is included at 6.. Documentation/userspace-api/media/fdl-appendix.rst. 7.. 8.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections 9 10.. _net: 11 12###################### 13Digital TV Network API 14###################### 15 16The Digital TV net device controls the mapping of data packages that are part 17of a transport stream to be mapped into a virtual network interface, 18visible through the standard Linux network protocol stack. 19 20Currently, two encapsulations are supported: 21 22- `Multi Protocol Encapsulation (MPE) <http://en.wikipedia.org/wiki/Multiprotocol_Encapsulation>`__ 23 24- `Ultra Lightweight Encapsulation (ULE) <http://en.wikipedia.org/wiki/Unidirectional_Lightweight_Encapsulation>`__ 25 26In order to create the Linux virtual network interfaces, an application 27needs to tell to the Kernel what are the PIDs and the encapsulation 28types that are present on the transport stream. This is done through 29``/dev/dvb/adapter?/net?`` device node. The data will be available via 30virtual ``dvb?_?`` network interfaces, and will be controlled/routed via 31the standard ip tools (like ip, route, netstat, ifconfig, etc). 32 33Data types and and ioctl definitions are defined via ``linux/dvb/net.h`` 34header. 35 36 37.. _net_fcalls: 38 39Digital TV net Function Calls 40############################# 41 42.. toctree:: 43 :maxdepth: 1 44 45 net-types 46 net-add-if 47 net-remove-if 48 net-get-if 49