doc/doxygen/html/canmsg_8h.html
author etisserant
Sun, 30 Sep 2007 22:34:10 +0200
changeset 290 43c3b2bf3e32
parent 240 34654679f262
permissions -rw-r--r--
Added debug message printing. Added socket option : CAN_RAW_LOOPBACK=1 and CAN_RAW_RECV_OWN_MSGS=0.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CanFestival: drivers/can_lincan/canmsg.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_daf7036eef6d5824a8b65c083e166f12.html">can_lincan</a></div>
<h1>canmsg.h File Reference</h1><code>#include &lt;sys/time.h&gt;</code><br>
<code>#include &lt;sys/types.h&gt;</code><br>

<p>
Include dependency graph for canmsg.h:<p><center><img src="canmsg_8h__incl.png" border="0" usemap="#drivers/can_lincan/canmsg.h_map" alt=""></center>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="canmsg_8h__dep__incl.png" border="0" usemap="#drivers/can_lincan/canmsg.hdep_map" alt=""></center>
<map name="drivers/can_lincan/canmsg.hdep_map">
<area href="can__lincan_8c.html" shape="rect" coords="447,5,636,32" alt="">
<area href="lincan_8h.html" shape="rect" coords="231,31,396,57" alt="">
</map>

<p>
<a href="canmsg_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcanmsg__t.html">canmsg_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcanfilt__t.html">canfilt_t</a></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#f59a61704286d77e3e2bcf8829124d11">CAN_MSG_VERSION_2</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#98c7d1a1ebb869457233a70e44d7aeca">CAN_MSG_LENGTH</a>&nbsp;&nbsp;&nbsp;8</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#c6b14508549c3561cdf166125bdfde89">MSG_RTR</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#d55c25a32308fc3fa56e66a6a3325437">MSG_OVR</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;1)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#128f615ef49f3a1543e537de31c01c66">MSG_EXT</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#bee70d27877dd98917861854b815bbcf">MSG_LOCAL</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;3)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#c7700ece07c4432535d9c2f0bd80bb68">MSG_FILT_MASK_SHIFT</a>&nbsp;&nbsp;&nbsp;8</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#80417f42cd6475062fe663afdd68e3aa">MSG_RTR_MASK</a>&nbsp;&nbsp;&nbsp;(MSG_RTR&lt;&lt;MSG_FILT_MASK_SHIFT)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#528fe3daafae45b9c88c48631f2ecc72">MSG_EXT_MASK</a>&nbsp;&nbsp;&nbsp;(MSG_EXT&lt;&lt;MSG_FILT_MASK_SHIFT)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#812955c1243682049d28c2f1dccf316a">MSG_LOCAL_MASK</a>&nbsp;&nbsp;&nbsp;(MSG_LOCAL&lt;&lt;MSG_FILT_MASK_SHIFT)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#04ffeb2a735d56a5aba55991b32e984a">MSG_PROCESSLOCAL</a>&nbsp;&nbsp;&nbsp;(MSG_OVR&lt;&lt;MSG_FILT_MASK_SHIFT)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#0f1f59219b1d9926cb0c22100ac71198">MSG_ID_MASK</a>&nbsp;&nbsp;&nbsp;((1l&lt;&lt;29)-1)</td></tr>

<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef timeval&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#56f6c5a8501ff3e652523290ded8b22f">canmsg_tstamp_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#c6a169575bc0ced6a486d47f8f2ad0ff">canmsg_id_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structcanmsg__t.html">canmsg_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#3cc23b6eee482ace38dd28a3b76f1647">canmsg_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structcanfilt__t.html">canfilt_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#ae251c330fbe1de3f3da3a949414d5cb">canfilt_t</a></td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="98c7d1a1ebb869457233a70e44d7aeca"></a><!-- doxytag: member="canmsg.h::CAN_MSG_LENGTH" ref="98c7d1a1ebb869457233a70e44d7aeca" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAN_MSG_LENGTH&nbsp;&nbsp;&nbsp;8          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00036">36</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="f59a61704286d77e3e2bcf8829124d11"></a><!-- doxytag: member="canmsg.h::CAN_MSG_VERSION_2" ref="f59a61704286d77e3e2bcf8829124d11" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAN_MSG_VERSION_2          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00033">33</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="128f615ef49f3a1543e537de31c01c66"></a><!-- doxytag: member="canmsg.h::MSG_EXT" ref="128f615ef49f3a1543e537de31c01c66" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_EXT&nbsp;&nbsp;&nbsp;(1&lt;&lt;2)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00118">118</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
<p>
Referenced by <a class="el" href="can__lincan_8c-source.html#l00034">canReceive_driver()</a>, and <a class="el" href="can__lincan_8c-source.html#l00066">canSend_driver()</a>.
</div>
</div><p>
<a class="anchor" name="528fe3daafae45b9c88c48631f2ecc72"></a><!-- doxytag: member="canmsg.h::MSG_EXT_MASK" ref="528fe3daafae45b9c88c48631f2ecc72" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_EXT_MASK&nbsp;&nbsp;&nbsp;(MSG_EXT&lt;&lt;MSG_FILT_MASK_SHIFT)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00125">125</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="c7700ece07c4432535d9c2f0bd80bb68"></a><!-- doxytag: member="canmsg.h::MSG_FILT_MASK_SHIFT" ref="c7700ece07c4432535d9c2f0bd80bb68" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_FILT_MASK_SHIFT&nbsp;&nbsp;&nbsp;8          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00123">123</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="0f1f59219b1d9926cb0c22100ac71198"></a><!-- doxytag: member="canmsg.h::MSG_ID_MASK" ref="0f1f59219b1d9926cb0c22100ac71198" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_ID_MASK&nbsp;&nbsp;&nbsp;((1l&lt;&lt;29)-1)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00130">130</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="bee70d27877dd98917861854b815bbcf"></a><!-- doxytag: member="canmsg.h::MSG_LOCAL" ref="bee70d27877dd98917861854b815bbcf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_LOCAL&nbsp;&nbsp;&nbsp;(1&lt;&lt;3)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00119">119</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="812955c1243682049d28c2f1dccf316a"></a><!-- doxytag: member="canmsg.h::MSG_LOCAL_MASK" ref="812955c1243682049d28c2f1dccf316a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_LOCAL_MASK&nbsp;&nbsp;&nbsp;(MSG_LOCAL&lt;&lt;MSG_FILT_MASK_SHIFT)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00126">126</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="d55c25a32308fc3fa56e66a6a3325437"></a><!-- doxytag: member="canmsg.h::MSG_OVR" ref="d55c25a32308fc3fa56e66a6a3325437" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_OVR&nbsp;&nbsp;&nbsp;(1&lt;&lt;1)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00117">117</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="04ffeb2a735d56a5aba55991b32e984a"></a><!-- doxytag: member="canmsg.h::MSG_PROCESSLOCAL" ref="04ffeb2a735d56a5aba55991b32e984a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_PROCESSLOCAL&nbsp;&nbsp;&nbsp;(MSG_OVR&lt;&lt;MSG_FILT_MASK_SHIFT)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00127">127</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="c6b14508549c3561cdf166125bdfde89"></a><!-- doxytag: member="canmsg.h::MSG_RTR" ref="c6b14508549c3561cdf166125bdfde89" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_RTR&nbsp;&nbsp;&nbsp;(1&lt;&lt;0)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00116">116</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
<p>
Referenced by <a class="el" href="can__lincan_8c-source.html#l00034">canReceive_driver()</a>, and <a class="el" href="can__lincan_8c-source.html#l00066">canSend_driver()</a>.
</div>
</div><p>
<a class="anchor" name="80417f42cd6475062fe663afdd68e3aa"></a><!-- doxytag: member="canmsg.h::MSG_RTR_MASK" ref="80417f42cd6475062fe663afdd68e3aa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_RTR_MASK&nbsp;&nbsp;&nbsp;(MSG_RTR&lt;&lt;MSG_FILT_MASK_SHIFT)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00124">124</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="ae251c330fbe1de3f3da3a949414d5cb"></a><!-- doxytag: member="canmsg.h::canfilt_t" ref="ae251c330fbe1de3f3da3a949414d5cb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structcanfilt__t.html">canfilt_t</a> <a class="el" href="structcanfilt__t.html">canfilt_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00113">113</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="c6a169575bc0ced6a486d47f8f2ad0ff"></a><!-- doxytag: member="canmsg.h::canmsg_id_t" ref="c6a169575bc0ced6a486d47f8f2ad0ff" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned long <a class="el" href="canmsg_8h.html#c6a169575bc0ced6a486d47f8f2ad0ff">canmsg_id_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00042">42</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="3cc23b6eee482ace38dd28a3b76f1647"></a><!-- doxytag: member="canmsg.h::canmsg_t" ref="3cc23b6eee482ace38dd28a3b76f1647" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structcanmsg__t.html">canmsg_t</a> <a class="el" href="structcanmsg__t.html">canmsg_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00083">83</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="56f6c5a8501ff3e652523290ded8b22f"></a><!-- doxytag: member="canmsg.h::canmsg_tstamp_t" ref="56f6c5a8501ff3e652523290ded8b22f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct timeval <a class="el" href="canmsg_8h.html#56f6c5a8501ff3e652523290ded8b22f">canmsg_tstamp_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00040">40</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:17 2007 for CanFestival by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>