Rev 4332 | Rev 4351 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4332 | Rev 4350 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | /** @addtogroup net |
29 | /** @addtogroup net |
| 30 | * @{ |
30 | * @{ |
| 31 | */ |
31 | */ |
| 32 | 32 | ||
| 33 | /** @file |
33 | /** @file |
| 34 | * |
34 | * Wrapper for the standalone networking module. |
| 35 | */ |
35 | */ |
| 36 | 36 | ||
| 37 | #include <string.h> |
37 | #include <string.h> |
| 38 | 38 | ||
| 39 | #include <ipc/ipc.h> |
39 | #include <ipc/ipc.h> |
| Line 46... | Line 46... | ||
| 46 | #include "../structures/module_map.h" |
46 | #include "../structures/module_map.h" |
| 47 | #include "../structures/packet/packet_server.h" |
47 | #include "../structures/packet/packet_server.h" |
| 48 | 48 | ||
| 49 | #include "net.h" |
49 | #include "net.h" |
| 50 | 50 | ||
| - | 51 | /** Networking module global data. |
|
| - | 52 | */ |
|
| 51 | extern net_globals_t net_globals; |
53 | extern net_globals_t net_globals; |
| 52 | 54 | ||
| 53 | int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count ){ |
55 | int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count ){ |
| 54 | if( IS_NET_PACKET_MESSAGE( call )){ |
56 | if( IS_NET_PACKET_MESSAGE( call )){ |
| 55 | return packet_server_message( callid, call, answer, answer_count ); |
57 | return packet_server_message( callid, call, answer, answer_count ); |