1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter&#160;14.&#160;DVB Network API</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="LINUX MEDIA INFRASTRUCTURE API"><link rel="up" href="dvbapi.html" title="Part&#160;II.&#160;LINUX DVB API"><link rel="prev" href="ca_function_calls.html" title="CA Function Calls"><link rel="next" href="net_fcalls.html" title="DVB net Function Calls"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&#160;14.&#160;DVB Network API</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ca_function_calls.html">Prev</a>&#160;</td><th width="60%" align="center">Part&#160;II.&#160;LINUX DVB API</th><td width="20%" align="right">&#160;<a accesskey="n" href="net_fcalls.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a name="dvb_net"></a>Chapter&#160;14.&#160;DVB Network API</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="section"><a href="dvb_net.html#dvb_net_types">DVB Net Data Types</a></span></dt><dd><dl><dt><span class="section"><a href="dvb_net.html#dvb-net-if">struct dvb_net_if</a></span></dt></dl></dd><dt><span class="section"><a href="net_fcalls.html">DVB net Function Calls</a></span></dt><dd><dl><dt><span class="section"><a href="net_fcalls.html#NET_ADD_IF">NET_ADD_IF</a></span></dt><dt><span class="section"><a href="net_fcalls.html#NET_REMOVE_IF">NET_REMOVE_IF</a></span></dt><dt><span class="section"><a href="net_fcalls.html#NET_GET_IF">NET_GET_IF</a></span></dt></dl></dd></dl></div><p>The DVB net device enables feeding of MPE (multi protocol encapsulation) packets
2received via DVB into the Linux network protocol stack, e.g. for internet via satellite
3applications. It can be accessed through <span class="tt">/dev/dvb/adapter0/net0</span>. Data types and
4and ioctl definitions can be accessed by including <span class="tt">linux/dvb/net.h</span> in your
5application.
6</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dvb_net_types"></a>DVB Net Data Types</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="section"><a href="dvb_net.html#dvb-net-if">struct dvb_net_if</a></span></dt></dl></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="dvb-net-if"></a>struct dvb_net_if</h3></div></div></div><pre class="programlisting">
7struct dvb_net_if {
8	__u16 pid;
9	__u16 if_num;
10	__u8  feedtype;
11#define DVB_NET_FEEDTYPE_MPE 0	/&#8902; multi protocol encapsulation &#8902;/
12#define DVB_NET_FEEDTYPE_ULE 1	/&#8902; ultra lightweight encapsulation &#8902;/
13};
14</pre></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ca_function_calls.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="dvbapi.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="net_fcalls.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">CA Function Calls&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;DVB net Function Calls</td></tr></table></div></body></html>
15