Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4350 → Rev 4349

/branches/network/uspace/srv/net/net/net_bundle.c
31,8 → 31,7
*/
 
/** @file
* Wrapper for the bundled networking and TCP/IP stact modules.
* Distributes messages and initializes all module parts.
*
*/
 
#include <stdio.h>
52,8 → 51,6
 
#include "net.h"
 
/** Networking module global data.
*/
extern net_globals_t net_globals;
 
int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count ){
61,8 → 58,6
switch( IPC_GET_TARGET( call )){
case SERVICE_IP:
return ip_message( callid, call, answer, answer_count );
case SERVICE_ARP:
return arp_message( callid, call, answer, answer_count );
default:
return EINVAL;
}