215
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
3 |
<title>CanFestival: drivers/can_socket/can_socket.c File Reference</title>
|
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
6 |
</head><body>
|
|
7 |
<!-- Generated by Doxygen 1.5.1 -->
|
|
8 |
<div class="tabs">
|
|
9 |
<ul>
|
|
10 |
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
11 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
12 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
|
13 |
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
14 |
</ul></div>
|
|
15 |
<div class="tabs">
|
|
16 |
<ul>
|
|
17 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
18 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
19 |
</ul></div>
|
|
20 |
<div class="nav">
|
240
|
21 |
<a class="el" href="dir_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_46e557474a543d869f47f8b41f6c92ae.html">can_socket</a></div>
|
215
|
22 |
<h1>can_socket.c File Reference</h1><code>#include <stdio.h></code><br>
|
|
23 |
<code>#include <string.h></code><br>
|
|
24 |
<code>#include <stdlib.h></code><br>
|
|
25 |
<code>#include <stddef.h></code><br>
|
|
26 |
<code>#include <errno.h></code><br>
|
|
27 |
<code>#include "<a class="el" href="win32_2config_8h-source.html">config.h</a>"</code><br>
|
|
28 |
<code>#include <sys/socket.h></code><br>
|
|
29 |
<code>#include <sys/ioctl.h></code><br>
|
|
30 |
<code>#include "linux/can.h"</code><br>
|
|
31 |
<code>#include "linux/can/raw.h"</code><br>
|
|
32 |
<code>#include "net/if.h"</code><br>
|
|
33 |
<code>#include "<a class="el" href="can__driver_8h-source.html">can_driver.h</a>"</code><br>
|
|
34 |
|
|
35 |
<p>
|
|
36 |
Include dependency graph for can_socket.c:<p><center><img src="can__socket_8c__incl.png" border="0" usemap="#drivers/can_socket/can_socket.c_map" alt=""></center>
|
|
37 |
<map name="drivers/can_socket/can_socket.c_map">
|
240
|
38 |
<area href="win32_2config_8h.html" shape="rect" coords="268,291,332,317" alt="">
|
|
39 |
<area href="can__driver_8h.html" shape="rect" coords="256,88,344,115" alt="">
|
|
40 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="499,113,573,140" alt="">
|
|
41 |
<area href="can_8h.html" shape="rect" coords="401,139,449,165" alt="">
|
215
|
42 |
</map>
|
|
43 |
|
|
44 |
<p>
|
|
45 |
<a href="can__socket_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
46 |
<tr><td></td></tr>
|
|
47 |
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
240
|
48 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#17621bf583b5512955895eea23fbf605">PF_CAN</a> 29</td></tr>
|
|
49 |
|
|
50 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#4b444c39ffe73d7265a8fd1f9574359a">AF_CAN</a> PF_CAN</td></tr>
|
|
51 |
|
|
52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#89884954a188d907256419c1ff3312b9">CAN_IFNAME</a> "can%s"</td></tr>
|
|
53 |
|
|
54 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#4eaf4f417b909f1f45be28cada2c290a">CAN_SOCKET</a> socket</td></tr>
|
|
55 |
|
|
56 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#9b4deca58f52eefbbde4f8accefd154d">CAN_CLOSE</a> close</td></tr>
|
|
57 |
|
|
58 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#da8034e638199b5aac1db8434caa10cc">CAN_RECV</a> recv</td></tr>
|
|
59 |
|
|
60 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#12cff95e04c908461730b70fbffd53a7">CAN_SEND</a> send</td></tr>
|
|
61 |
|
|
62 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#7663ba5c0f4cf14506c929080b712100">CAN_BIND</a> bind</td></tr>
|
|
63 |
|
|
64 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#133b8d3a55193dcd23c7b3b6e8f733e2">CAN_IOCTL</a> ioctl</td></tr>
|
|
65 |
|
|
66 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#1aab66d04679810c59d88bb5b3ba706f">CAN_ERRNO</a>(err) errno</td></tr>
|
215
|
67 |
|
|
68 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
240
|
69 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#b0b7065be05f6d53009b7bd46626e2c0">canReceive_driver</a> (<a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
|
|
70 |
|
|
71 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#36327c9e0ec6d284b346963a321e3c2b">canSend_driver</a> (<a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
|
|
72 |
|
|
73 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#a91c5884b47322592815c82427be3fac">canOpen_driver</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr>
|
|
74 |
|
|
75 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="can__socket_8c.html#d2f4803f3a623c82a4c3e92d4e75e5a5">canClose_driver</a> (<a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> fd0)</td></tr>
|
215
|
76 |
|
|
77 |
</table>
|
|
78 |
<hr><h2>Define Documentation</h2>
|
240
|
79 |
<a class="anchor" name="4b444c39ffe73d7265a8fd1f9574359a"></a><!-- doxytag: member="can_socket.c::AF_CAN" ref="4b444c39ffe73d7265a8fd1f9574359a" args="" -->
|
215
|
80 |
<div class="memitem">
|
|
81 |
<div class="memproto">
|
|
82 |
<table class="memname">
|
|
83 |
<tr>
|
|
84 |
<td class="memname">#define AF_CAN PF_CAN </td>
|
|
85 |
</tr>
|
|
86 |
</table>
|
|
87 |
</div>
|
|
88 |
<div class="memdoc">
|
|
89 |
|
|
90 |
<p>
|
|
91 |
|
|
92 |
<p>
|
|
93 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00048">48</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
94 |
<p>
|
|
95 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00150">canOpen_driver()</a>.
|
|
96 |
</div>
|
|
97 |
</div><p>
|
240
|
98 |
<a class="anchor" name="7663ba5c0f4cf14506c929080b712100"></a><!-- doxytag: member="can_socket.c::CAN_BIND" ref="7663ba5c0f4cf14506c929080b712100" args="" -->
|
215
|
99 |
<div class="memitem">
|
|
100 |
<div class="memproto">
|
|
101 |
<table class="memname">
|
|
102 |
<tr>
|
|
103 |
<td class="memname">#define CAN_BIND bind </td>
|
|
104 |
</tr>
|
|
105 |
</table>
|
|
106 |
</div>
|
|
107 |
<div class="memdoc">
|
|
108 |
|
|
109 |
<p>
|
|
110 |
|
|
111 |
<p>
|
|
112 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00055">55</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
113 |
<p>
|
|
114 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00150">canOpen_driver()</a>.
|
|
115 |
</div>
|
|
116 |
</div><p>
|
240
|
117 |
<a class="anchor" name="9b4deca58f52eefbbde4f8accefd154d"></a><!-- doxytag: member="can_socket.c::CAN_CLOSE" ref="9b4deca58f52eefbbde4f8accefd154d" args="" -->
|
215
|
118 |
<div class="memitem">
|
|
119 |
<div class="memproto">
|
|
120 |
<table class="memname">
|
|
121 |
<tr>
|
|
122 |
<td class="memname">#define CAN_CLOSE close </td>
|
|
123 |
</tr>
|
|
124 |
</table>
|
|
125 |
</div>
|
|
126 |
<div class="memdoc">
|
|
127 |
|
|
128 |
<p>
|
|
129 |
|
|
130 |
<p>
|
|
131 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00052">52</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
132 |
<p>
|
|
133 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00228">canClose_driver()</a>, and <a class="el" href="can__socket_8c-source.html#l00150">canOpen_driver()</a>.
|
|
134 |
</div>
|
|
135 |
</div><p>
|
240
|
136 |
<a class="anchor" name="1aab66d04679810c59d88bb5b3ba706f"></a><!-- doxytag: member="can_socket.c::CAN_ERRNO" ref="1aab66d04679810c59d88bb5b3ba706f" args="(err)" -->
|
215
|
137 |
<div class="memitem">
|
|
138 |
<div class="memproto">
|
|
139 |
<table class="memname">
|
|
140 |
<tr>
|
|
141 |
<td class="memname">#define CAN_ERRNO </td>
|
|
142 |
<td>(</td>
|
|
143 |
<td class="paramtype">err </td>
|
|
144 |
<td class="paramname"> </td>
|
|
145 |
<td> ) </td>
|
|
146 |
<td width="100%"> errno</td>
|
|
147 |
</tr>
|
|
148 |
</table>
|
|
149 |
</div>
|
|
150 |
<div class="memdoc">
|
|
151 |
|
|
152 |
<p>
|
|
153 |
|
|
154 |
<p>
|
|
155 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00057">57</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
156 |
<p>
|
|
157 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00150">canOpen_driver()</a>, <a class="el" href="can__socket_8c-source.html#l00064">canReceive_driver()</a>, and <a class="el" href="can__socket_8c-source.html#l00090">canSend_driver()</a>.
|
|
158 |
</div>
|
|
159 |
</div><p>
|
240
|
160 |
<a class="anchor" name="89884954a188d907256419c1ff3312b9"></a><!-- doxytag: member="can_socket.c::CAN_IFNAME" ref="89884954a188d907256419c1ff3312b9" args="" -->
|
215
|
161 |
<div class="memitem">
|
|
162 |
<div class="memproto">
|
|
163 |
<table class="memname">
|
|
164 |
<tr>
|
|
165 |
<td class="memname">#define CAN_IFNAME "can%s" </td>
|
|
166 |
</tr>
|
|
167 |
</table>
|
|
168 |
</div>
|
|
169 |
<div class="memdoc">
|
|
170 |
|
|
171 |
<p>
|
|
172 |
|
|
173 |
<p>
|
|
174 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00050">50</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
175 |
<p>
|
|
176 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00150">canOpen_driver()</a>.
|
|
177 |
</div>
|
|
178 |
</div><p>
|
240
|
179 |
<a class="anchor" name="133b8d3a55193dcd23c7b3b6e8f733e2"></a><!-- doxytag: member="can_socket.c::CAN_IOCTL" ref="133b8d3a55193dcd23c7b3b6e8f733e2" args="" -->
|
215
|
180 |
<div class="memitem">
|
|
181 |
<div class="memproto">
|
|
182 |
<table class="memname">
|
|
183 |
<tr>
|
|
184 |
<td class="memname">#define CAN_IOCTL ioctl </td>
|
|
185 |
</tr>
|
|
186 |
</table>
|
|
187 |
</div>
|
|
188 |
<div class="memdoc">
|
|
189 |
|
|
190 |
<p>
|
|
191 |
|
|
192 |
<p>
|
|
193 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00056">56</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
194 |
<p>
|
|
195 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00150">canOpen_driver()</a>.
|
|
196 |
</div>
|
|
197 |
</div><p>
|
240
|
198 |
<a class="anchor" name="da8034e638199b5aac1db8434caa10cc"></a><!-- doxytag: member="can_socket.c::CAN_RECV" ref="da8034e638199b5aac1db8434caa10cc" args="" -->
|
215
|
199 |
<div class="memitem">
|
|
200 |
<div class="memproto">
|
|
201 |
<table class="memname">
|
|
202 |
<tr>
|
|
203 |
<td class="memname">#define CAN_RECV recv </td>
|
|
204 |
</tr>
|
|
205 |
</table>
|
|
206 |
</div>
|
|
207 |
<div class="memdoc">
|
|
208 |
|
|
209 |
<p>
|
|
210 |
|
|
211 |
<p>
|
|
212 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00053">53</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
213 |
<p>
|
|
214 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00064">canReceive_driver()</a>.
|
|
215 |
</div>
|
|
216 |
</div><p>
|
240
|
217 |
<a class="anchor" name="12cff95e04c908461730b70fbffd53a7"></a><!-- doxytag: member="can_socket.c::CAN_SEND" ref="12cff95e04c908461730b70fbffd53a7" args="" -->
|
215
|
218 |
<div class="memitem">
|
|
219 |
<div class="memproto">
|
|
220 |
<table class="memname">
|
|
221 |
<tr>
|
|
222 |
<td class="memname">#define CAN_SEND send </td>
|
|
223 |
</tr>
|
|
224 |
</table>
|
|
225 |
</div>
|
|
226 |
<div class="memdoc">
|
|
227 |
|
|
228 |
<p>
|
|
229 |
|
|
230 |
<p>
|
|
231 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00054">54</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
232 |
<p>
|
|
233 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00090">canSend_driver()</a>.
|
|
234 |
</div>
|
|
235 |
</div><p>
|
240
|
236 |
<a class="anchor" name="4eaf4f417b909f1f45be28cada2c290a"></a><!-- doxytag: member="can_socket.c::CAN_SOCKET" ref="4eaf4f417b909f1f45be28cada2c290a" args="" -->
|
215
|
237 |
<div class="memitem">
|
|
238 |
<div class="memproto">
|
|
239 |
<table class="memname">
|
|
240 |
<tr>
|
|
241 |
<td class="memname">#define CAN_SOCKET socket </td>
|
|
242 |
</tr>
|
|
243 |
</table>
|
|
244 |
</div>
|
|
245 |
<div class="memdoc">
|
|
246 |
|
|
247 |
<p>
|
|
248 |
|
|
249 |
<p>
|
|
250 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00051">51</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
251 |
<p>
|
|
252 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00150">canOpen_driver()</a>.
|
|
253 |
</div>
|
|
254 |
</div><p>
|
240
|
255 |
<a class="anchor" name="17621bf583b5512955895eea23fbf605"></a><!-- doxytag: member="can_socket.c::PF_CAN" ref="17621bf583b5512955895eea23fbf605" args="" -->
|
215
|
256 |
<div class="memitem">
|
|
257 |
<div class="memproto">
|
|
258 |
<table class="memname">
|
|
259 |
<tr>
|
|
260 |
<td class="memname">#define PF_CAN 29 </td>
|
|
261 |
</tr>
|
|
262 |
</table>
|
|
263 |
</div>
|
|
264 |
<div class="memdoc">
|
|
265 |
|
|
266 |
<p>
|
|
267 |
|
|
268 |
<p>
|
|
269 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00047">47</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
270 |
<p>
|
|
271 |
Referenced by <a class="el" href="can__socket_8c-source.html#l00150">canOpen_driver()</a>.
|
|
272 |
</div>
|
|
273 |
</div><p>
|
|
274 |
<hr><h2>Function Documentation</h2>
|
240
|
275 |
<a class="anchor" name="d2f4803f3a623c82a4c3e92d4e75e5a5"></a><!-- doxytag: member="can_socket.c::canClose_driver" ref="d2f4803f3a623c82a4c3e92d4e75e5a5" args="(CAN_HANDLE fd0)" -->
|
215
|
276 |
<div class="memitem">
|
|
277 |
<div class="memproto">
|
|
278 |
<table class="memname">
|
|
279 |
<tr>
|
|
280 |
<td class="memname">int canClose_driver </td>
|
|
281 |
<td>(</td>
|
240
|
282 |
<td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> </td>
|
215
|
283 |
<td class="paramname"> <em>fd0</em> </td>
|
|
284 |
<td> ) </td>
|
|
285 |
<td width="100%"></td>
|
|
286 |
</tr>
|
|
287 |
</table>
|
|
288 |
</div>
|
|
289 |
<div class="memdoc">
|
|
290 |
|
|
291 |
<p>
|
|
292 |
|
|
293 |
<p>
|
|
294 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00228">228</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
295 |
<p>
|
|
296 |
References <a class="el" href="can__socket_8c-source.html#l00052">CAN_CLOSE</a>.
|
|
297 |
</div>
|
|
298 |
</div><p>
|
240
|
299 |
<a class="anchor" name="a91c5884b47322592815c82427be3fac"></a><!-- doxytag: member="can_socket.c::canOpen_driver" ref="a91c5884b47322592815c82427be3fac" args="(s_BOARD *board)" -->
|
|
300 |
<div class="memitem">
|
|
301 |
<div class="memproto">
|
|
302 |
<table class="memname">
|
|
303 |
<tr>
|
|
304 |
<td class="memname"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> canOpen_driver </td>
|
215
|
305 |
<td>(</td>
|
|
306 |
<td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> * </td>
|
|
307 |
<td class="paramname"> <em>board</em> </td>
|
|
308 |
<td> ) </td>
|
|
309 |
<td width="100%"></td>
|
|
310 |
</tr>
|
|
311 |
</table>
|
|
312 |
</div>
|
|
313 |
<div class="memdoc">
|
|
314 |
|
|
315 |
<p>
|
|
316 |
|
|
317 |
<p>
|
|
318 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00150">150</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
319 |
<p>
|
|
320 |
References <a class="el" href="can__socket_8c-source.html#l00048">AF_CAN</a>, <a class="el" href="can__driver_8h-source.html#l00035">struct_s_BOARD::baudrate</a>, <a class="el" href="can__driver_8h-source.html#l00034">struct_s_BOARD::busname</a>, <a class="el" href="can__socket_8c-source.html#l00055">CAN_BIND</a>, <a class="el" href="can__socket_8c-source.html#l00052">CAN_CLOSE</a>, <a class="el" href="can__socket_8c-source.html#l00057">CAN_ERRNO</a>, <a class="el" href="can__socket_8c-source.html#l00050">CAN_IFNAME</a>, <a class="el" href="can__socket_8c-source.html#l00056">CAN_IOCTL</a>, <a class="el" href="can__socket_8c-source.html#l00051">CAN_SOCKET</a>, and <a class="el" href="can__socket_8c-source.html#l00047">PF_CAN</a>.
|
|
321 |
</div>
|
|
322 |
</div><p>
|
240
|
323 |
<a class="anchor" name="b0b7065be05f6d53009b7bd46626e2c0"></a><!-- doxytag: member="can_socket.c::canReceive_driver" ref="b0b7065be05f6d53009b7bd46626e2c0" args="(CAN_HANDLE fd0, Message *m)" -->
|
215
|
324 |
<div class="memitem">
|
|
325 |
<div class="memproto">
|
|
326 |
<table class="memname">
|
|
327 |
<tr>
|
|
328 |
<td class="memname">UNS8 canReceive_driver </td>
|
|
329 |
<td>(</td>
|
240
|
330 |
<td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> </td>
|
215
|
331 |
<td class="paramname"> <em>fd0</em>, </td>
|
|
332 |
</tr>
|
|
333 |
<tr>
|
|
334 |
<td class="paramkey"></td>
|
|
335 |
<td></td>
|
|
336 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
337 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
338 |
</tr>
|
|
339 |
<tr>
|
|
340 |
<td></td>
|
|
341 |
<td>)</td>
|
|
342 |
<td></td><td></td><td width="100%"></td>
|
|
343 |
</tr>
|
|
344 |
</table>
|
|
345 |
</div>
|
|
346 |
<div class="memdoc">
|
|
347 |
|
|
348 |
<p>
|
|
349 |
|
|
350 |
<p>
|
|
351 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00064">64</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
352 |
<p>
|
|
353 |
References <a class="el" href="can__socket_8c-source.html#l00057">CAN_ERRNO</a>, <a class="el" href="can__socket_8c-source.html#l00053">CAN_RECV</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
|
|
354 |
</div>
|
|
355 |
</div><p>
|
240
|
356 |
<a class="anchor" name="36327c9e0ec6d284b346963a321e3c2b"></a><!-- doxytag: member="can_socket.c::canSend_driver" ref="36327c9e0ec6d284b346963a321e3c2b" args="(CAN_HANDLE fd0, Message *m)" -->
|
215
|
357 |
<div class="memitem">
|
|
358 |
<div class="memproto">
|
|
359 |
<table class="memname">
|
|
360 |
<tr>
|
|
361 |
<td class="memname">UNS8 canSend_driver </td>
|
|
362 |
<td>(</td>
|
240
|
363 |
<td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> </td>
|
215
|
364 |
<td class="paramname"> <em>fd0</em>, </td>
|
|
365 |
</tr>
|
|
366 |
<tr>
|
|
367 |
<td class="paramkey"></td>
|
|
368 |
<td></td>
|
|
369 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
370 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
371 |
</tr>
|
|
372 |
<tr>
|
|
373 |
<td></td>
|
|
374 |
<td>)</td>
|
|
375 |
<td></td><td></td><td width="100%"></td>
|
|
376 |
</tr>
|
|
377 |
</table>
|
|
378 |
</div>
|
|
379 |
<div class="memdoc">
|
|
380 |
|
|
381 |
<p>
|
|
382 |
|
|
383 |
<p>
|
|
384 |
Definition at line <a class="el" href="can__socket_8c-source.html#l00090">90</a> of file <a class="el" href="can__socket_8c-source.html">can_socket.c</a>.
|
|
385 |
<p>
|
|
386 |
References <a class="el" href="can__socket_8c-source.html#l00057">CAN_ERRNO</a>, <a class="el" href="can__socket_8c-source.html#l00054">CAN_SEND</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
|
|
387 |
</div>
|
|
388 |
</div><p>
|
240
|
389 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:17 2007 for CanFestival by
|
215
|
390 |
<a href="http://www.doxygen.org/index.html">
|
|
391 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
392 |
</body>
|
|
393 |
</html>
|