Mauro Carvalho Chehab | 8e080c2 | 2009-09-13 22:16:04 -0300 | [diff] [blame] | 1 | <title>DVB Network API</title> |
| 2 | <para>The DVB net device enables feeding of MPE (multi protocol encapsulation) packets |
| 3 | received via DVB into the Linux network protocol stack, e.g. for internet via satellite |
| 4 | applications. It can be accessed through <emphasis role="tt">/dev/dvb/adapter0/net0</emphasis>. Data types and |
| 5 | and ioctl definitions can be accessed by including <emphasis role="tt">linux/dvb/net.h</emphasis> in your |
| 6 | application. |
| 7 | </para> |
| 8 | <section id="dvb_net_types"> |
| 9 | <title>DVB Net Data Types</title> |
Mauro Carvalho Chehab | ca5b233 | 2011-06-08 15:08:57 -0300 | [diff] [blame] | 10 | |
| 11 | <section id="dvb-net-if"> |
| 12 | <title>struct dvb_net_if</title> |
| 13 | <programlisting> |
| 14 | struct dvb_net_if { |
| 15 | __u16 pid; |
| 16 | __u16 if_num; |
| 17 | __u8 feedtype; |
| 18 | #define DVB_NET_FEEDTYPE_MPE 0 /⋆ multi protocol encapsulation ⋆/ |
| 19 | #define DVB_NET_FEEDTYPE_ULE 1 /⋆ ultra lightweight encapsulation ⋆/ |
| 20 | }; |
| 21 | </programlisting> |
| 22 | </section> |
| 23 | |
| 24 | </section> |
| 25 | <section id="net_fcalls"> |
| 26 | <title>DVB net Function Calls</title> |
Mauro Carvalho Chehab | 8e080c2 | 2009-09-13 22:16:04 -0300 | [diff] [blame] | 27 | <para>To be written… |
| 28 | </para> |
| 29 | </section> |