Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[pandora-kernel.git] / Documentation / DocBook / media / dvb / net.xml
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>
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  /&#x22C6; multi protocol encapsulation &#x22C6;/
19 #define DVB_NET_FEEDTYPE_ULE 1  /&#x22C6; ultra lightweight encapsulation &#x22C6;/
20 };
21 </programlisting>
22 </section>
23
24 </section>
25 <section id="net_fcalls">
26 <title>DVB net Function Calls</title>
27 <para>To be written&#x2026;
28 </para>
29 </section>