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
8 <section id="dvb_net_types">
9 <title>DVB Net Data Types</title>
11 <section id="dvb-net-if">
12 <title>struct dvb_net_if</title>
18 #define DVB_NET_FEEDTYPE_MPE 0 /⋆ multi protocol encapsulation ⋆/
19 #define DVB_NET_FEEDTYPE_ULE 1 /⋆ ultra lightweight encapsulation ⋆/
25 <section id="net_fcalls">
26 <title>DVB net Function Calls</title>
27 <para>To be written…
30 <section id="NET_ADD_IF"
31 role="subsection"><title>NET_ADD_IF</title>
34 <informaltable><tgroup cols="1"><tbody><row><entry
36 <para>This ioctl is undocumented. Documentation is welcome.</para>
38 </row></tbody></tgroup></informaltable>
41 <informaltable><tgroup cols="1"><tbody><row><entry
43 <para>int ioctl(fd, int request = NET_ADD_IF,
44 struct dvb_net_if *if);</para>
46 </row></tbody></tgroup></informaltable>
49 <informaltable><tgroup cols="2"><tbody><row><entry
54 <para>File descriptor returned by a previous call to open().</para>
58 <para>int request</para>
61 <para>Equals NET_ADD_IF for this command.</para>
65 <para>struct dvb_net_if *if
69 <para>Undocumented.</para>
71 </row></tbody></tgroup></informaltable>
75 <section id="NET_REMOVE_IF"
76 role="subsection"><title>NET_REMOVE_IF</title>
79 <informaltable><tgroup cols="1"><tbody><row><entry
81 <para>This ioctl is undocumented. Documentation is welcome.</para>
83 </row></tbody></tgroup></informaltable>
86 <informaltable><tgroup cols="1"><tbody><row><entry
88 <para>int ioctl(fd, int request = NET_REMOVE_IF);
91 </row></tbody></tgroup></informaltable>
94 <informaltable><tgroup cols="2"><tbody><row><entry
99 <para>File descriptor returned by a previous call to open().</para>
103 <para>int request</para>
106 <para>Equals NET_REMOVE_IF for this command.</para>
108 </row></tbody></tgroup></informaltable>
112 <section id="NET_GET_IF"
113 role="subsection"><title>NET_GET_IF</title>
116 <informaltable><tgroup cols="1"><tbody><row><entry
118 <para>This ioctl is undocumented. Documentation is welcome.</para>
120 </row></tbody></tgroup></informaltable>
123 <informaltable><tgroup cols="1"><tbody><row><entry
125 <para>int ioctl(fd, int request = NET_GET_IF,
126 struct dvb_net_if *if);</para>
128 </row></tbody></tgroup></informaltable>
131 <informaltable><tgroup cols="2"><tbody><row><entry
136 <para>File descriptor returned by a previous call to open().</para>
140 <para>int request</para>
143 <para>Equals NET_GET_IF for this command.</para>
147 <para>struct dvb_net_if *if
151 <para>Undocumented.</para>
153 </row></tbody></tgroup></informaltable>