Changeset 59ecd4a in mainline for uspace/lib/net/netif/netif_nil_bundle.c
- Timestamp:
- 2010-04-04T21:41:47Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5db9084
- Parents:
- 36a75a2 (diff), ee7e82a9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/netif/netif_nil_bundle.c
r36a75a2 r59ecd4a 37 37 38 38 #include <async.h> 39 40 39 #include <ipc/ipc.h> 41 40 42 #include "../messages.h" 43 44 #include "../structures/packet/packet.h" 45 46 #include "../nil/nil_module.h" 47 48 #include "netif.h" 49 50 /** Network interface module global data. 51 */ 52 extern netif_globals_t netif_globals; 41 #include <net_messages.h> 42 #include <packet/packet.h> 43 #include <nil_module.h> 44 #include <netif_nil_bundle.h> 45 #include <netif.h> 53 46 54 47 /** Distributes the messages between the module parts. … … 61 54 * @returns Other error codes as defined for each specific module message function. 62 55 */ 63 int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count); 56 int netif_nil_module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){ 57 if(IS_NET_NIL_MESSAGE(call) || (IPC_GET_METHOD(*call) == IPC_M_CONNECT_TO_ME)){ 58 return nil_message(callid, call, answer, answer_count); 59 }else{ 60 return netif_message(callid, call, answer, answer_count); 61 } 62 } 64 63 65 64 /** Starts the bundle network interface module. … … 69 68 * @returns Other error codes as defined for each specific module message function. 70 69 */ 71 int module_start(async_client_conn_t client_connection); 72 73 int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){ 74 if(IS_NET_NIL_MESSAGE(call) || (IPC_GET_METHOD(*call) == IPC_M_CONNECT_TO_ME)){ 75 return nil_message(callid, call, answer, answer_count); 76 }else{ 77 return netif_message(callid, call, answer, answer_count); 78 } 79 } 80 81 int module_start(async_client_conn_t client_connection){ 70 int netif_nil_module_start(async_client_conn_t client_connection){ 82 71 ERROR_DECLARE; 83 72
Note:
See TracChangeset
for help on using the changeset viewer.