Subversion Repositories HelenOS

Rev

Rev 4695 | Rev 4719 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4695 Rev 4707
Line 79... Line 79...
79
    ERROR_PROPAGATE( add_module( NULL, & net_globals.modules, NILDUMMY_NAME, NILDUMMY_FILENAME, SERVICE_NILDUMMY, 0, connect_to_service ));
79
    ERROR_PROPAGATE( add_module( NULL, & net_globals.modules, NILDUMMY_NAME, NILDUMMY_FILENAME, SERVICE_NILDUMMY, 0, connect_to_service ));
80
 
80
 
81
    task_id = spawn( "/srv/ip" );
81
    task_id = spawn( "/srv/ip" );
82
    if( ! task_id ) return EINVAL;
82
    if( ! task_id ) return EINVAL;
83
    ERROR_PROPAGATE( add_module( NULL, & net_globals.modules, IP_NAME, IP_FILENAME, SERVICE_IP, task_id, ip_connect_module ));
83
    ERROR_PROPAGATE( add_module( NULL, & net_globals.modules, IP_NAME, IP_FILENAME, SERVICE_IP, task_id, ip_connect_module ));
-
 
84
    if( ! spawn( "/srv/icmp" )) return EINVAL;
84
    if( ! spawn( "/srv/udp" )) return EINVAL;
85
    if( ! spawn( "/srv/udp" )) return EINVAL;
85
    if( ! spawn( "/srv/tcp" )) return EINVAL;
86
    if( ! spawn( "/srv/tcp" )) return EINVAL;
86
//  if( ! spawn( "/srv/rarp" )) return EINVAL;
87
//  if( ! spawn( "/srv/rarp" )) return EINVAL;
87
//  if( ! spawn( "/srv/icmp" )) return EINVAL;
-
 
88
    return EOK;
88
    return EOK;
89
}
89
}
90
 
90
 
91
int read_netif_configuration( char * name, netif_ref netif ){
91
int read_netif_configuration( char * name, netif_ref netif ){
92
    ERROR_DECLARE;
92
    ERROR_DECLARE;