Ignore:
Timestamp:
2010-04-04T22:07:05Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
23de644
Parents:
9f10660f (diff), 73060801 (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.
Message:

Merge mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/netif/netif_nil_bundle.c

    r9f10660f r3aae4e8  
    3737
    3838#include <async.h>
    39 
    4039#include <ipc/ipc.h>
    4140
    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>
    5346
    5447/** Distributes the messages between the module parts.
     
    6154 *  @returns Other error codes as defined for each specific module message function.
    6255 */
    63 int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);
     56int 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}
    6463
    6564/** Starts the bundle network interface module.
     
    6968 *  @returns Other error codes as defined for each specific module message function.
    7069 */
    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){
     70int netif_nil_module_start(async_client_conn_t client_connection){
    8271        ERROR_DECLARE;
    8372
Note: See TracChangeset for help on using the changeset viewer.