Rev 4695 | Rev 4722 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4695 | Rev 4704 | ||
---|---|---|---|
Line 169... | Line 169... | ||
169 | 169 | ||
170 | /** Ethernet module global data. |
170 | /** Ethernet module global data. |
171 | */ |
171 | */ |
172 | eth_globals_t eth_globals; |
172 | eth_globals_t eth_globals; |
173 | 173 | ||
- | 174 | /** @name Message processing functions |
|
- | 175 | */ |
|
- | 176 | /*@{*/ |
|
- | 177 | ||
174 | /** Processes IPC messages from the registered device driver modules in an infinite loop. |
178 | /** Processes IPC messages from the registered device driver modules in an infinite loop. |
175 | * @param iid The message identifier. Input parameter. |
179 | * @param iid The message identifier. Input parameter. |
176 | * @param icall The message parameters. Input/output parameter. |
180 | * @param icall The message parameters. Input/output parameter. |
177 | */ |
181 | */ |
178 | void eth_receiver( ipc_callid_t iid, ipc_call_t * icall ); |
182 | void eth_receiver( ipc_callid_t iid, ipc_call_t * icall ); |
Line 232... | Line 236... | ||
232 | * @returns ENOENT if there no such device. |
236 | * @returns ENOENT if there no such device. |
233 | * @returns EINVAL if the service parameter is not known. |
237 | * @returns EINVAL if the service parameter is not known. |
234 | */ |
238 | */ |
235 | int eth_send_message( device_id_t device_id, packet_t packet, services_t sender ); |
239 | int eth_send_message( device_id_t device_id, packet_t packet, services_t sender ); |
236 | 240 | ||
- | 241 | /*@}*/ |
|
- | 242 | ||
237 | /** Processes the received packet and chooses the target registered module. |
243 | /** Processes the received packet and chooses the target registered module. |
238 | * @param flags The device flags. Input parameter. |
244 | * @param flags The device flags. Input parameter. |
239 | * @param packet The packet. Input parameter. |
245 | * @param packet The packet. Input parameter. |
240 | * @returns The target registered module. |
246 | * @returns The target registered module. |
241 | * @returns NULL if the packet is not long enough. |
247 | * @returns NULL if the packet is not long enough. |