Ignore:
Timestamp:
2010-03-30T18:39:04Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7553689
Parents:
7d6fe4db
Message:

Networking work:
Split the networking stack into end-user library (libsocket) and two helper libraries (libnet and libnetif).
Don't use over-the-hand compiling and linking, but rather separation of conserns.
There might be still some issues and the non-modular networking architecture is currently broken, but this will be fixed soon.

File:
1 moved

Legend:

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

    r7d6fe4db r849ed54  
    3636
    3737#include <async.h>
    38 
    3938#include <ipc/ipc.h>
    4039
    41 #include "netif.h"
     40#include <netif.h>
     41#include <netif_standalone.h>
    4242
    4343/** Delegates the messages to the netif_message() function.
     
    5050 *  @returns Other error codes as defined for each specific module message function.
    5151 */
    52 int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);
     52int netif_module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){
     53        return netif_message(callid, call, answer, answer_count);
     54}
    5355
    5456/** Starts the network interface module.
     
    5860 *  @returns Other error codes as defined for each specific module message function.
    5961 */
    60 int module_start(async_client_conn_t client_connection);
    61 
    62 int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){
    63         return netif_message(callid, call, answer, answer_count);
    64 }
    65 
    66 int module_start(async_client_conn_t client_connection){
     62int netif_module_start(async_client_conn_t client_connection){
    6763        ERROR_DECLARE;
    6864
Note: See TracChangeset for help on using the changeset viewer.