Changeset 71b00dcc in mainline for uspace/srv/net/netif/netif_nil_bundle.c
- Timestamp:
- 2010-03-07T22:51:38Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60ab6c3
- Parents:
- b5cbff4 (diff), 31c80a5 (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 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/netif/netif_nil_bundle.c
rb5cbff4 r71b00dcc 61 61 * @returns Other error codes as defined for each specific module message function. 62 62 */ 63 int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);63 int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count); 64 64 65 65 /** Starts the bundle network interface module. … … 69 69 * @returns Other error codes as defined for each specific module message function. 70 70 */ 71 int module_start( async_client_conn_t client_connection);71 int module_start(async_client_conn_t client_connection); 72 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);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 76 }else{ 77 return netif_message( callid, call, answer, answer_count);77 return netif_message(callid, call, answer, answer_count); 78 78 } 79 79 } 80 80 81 int module_start( async_client_conn_t client_connection){81 int module_start(async_client_conn_t client_connection){ 82 82 ERROR_DECLARE; 83 83 84 ERROR_PROPAGATE( netif_init_module( client_connection));85 if( ERROR_OCCURRED( nil_initialize( netif_globals.net_phone))){84 ERROR_PROPAGATE(netif_init_module(client_connection)); 85 if(ERROR_OCCURRED(nil_initialize(netif_globals.net_phone))){ 86 86 pm_destroy(); 87 87 return ERROR_CODE;
Note:
See TracChangeset
for help on using the changeset viewer.