net.rst 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _net:
  3. ###############
  4. DVB Network API
  5. ###############
  6. The DVB net device controls the mapping of data packages that are part
  7. of a transport stream to be mapped into a virtual network interface,
  8. visible through the standard Linux network protocol stack.
  9. Currently, two encapsulations are supported:
  10. - `Multi Protocol Encapsulation (MPE) <http://en.wikipedia.org/wiki/Multiprotocol_Encapsulation>`__
  11. - `Ultra Lightweight Encapsulation (ULE) <http://en.wikipedia.org/wiki/Unidirectional_Lightweight_Encapsulation>`__
  12. In order to create the Linux virtual network interfaces, an application
  13. needs to tell to the Kernel what are the PIDs and the encapsulation
  14. types that are present on the transport stream. This is done through
  15. ``/dev/dvb/adapter?/net?`` device node. The data will be available via
  16. virtual ``dvb?_?`` network interfaces, and will be controlled/routed via
  17. the standard ip tools (like ip, route, netstat, ifconfig, etc).
  18. Data types and and ioctl definitions are defined via ``linux/dvb/net.h``
  19. header.
  20. .. _net_fcalls:
  21. ######################
  22. DVB net Function Calls
  23. ######################
  24. .. toctree::
  25. :maxdepth: 1
  26. net-add-if
  27. net-remove-if
  28. net-get-if