49,7 → 49,7 |
|
#include "../il/arp/arp_module.h" |
#include "../il/ip/ip_module.h" |
#include "../il/icmp/icmp_module.h" |
#include "../tl/icmp/icmp_module.h" |
#include "../tl/udp/udp_module.h" |
#include "../tl/tcp/tcp_module.h" |
|
82,9 → 82,7 |
return ip_message( callid, call, answer, answer_count ); |
}else if( IS_NET_ARP_MESSAGE( call )){ |
return arp_message( callid, call, answer, answer_count ); |
/* }else if( IS_NET_RARP_MESSAGE( call )){ |
return rarp_message( callid, call, answer, answer_count ); |
*/ }else if( IS_NET_ICMP_MESSAGE( call )){ |
}else if( IS_NET_ICMP_MESSAGE( call )){ |
return icmp_message( callid, call, answer, answer_count ); |
}else if( IS_NET_UDP_MESSAGE( call )){ |
return udp_message( callid, call, answer, answer_count ); |
109,9 → 107,6 |
modules_initialize( & net_globals.modules ); |
measured_strings_initialize( & net_globals.configuration ); |
|
// run self tests |
// ERROR_PROPAGATE( self_test()); |
|
ERROR_PROPAGATE( add_module( NULL, & net_globals.modules, LO_NAME, LO_FILENAME, SERVICE_LO, 0, connect_to_service )); |
ERROR_PROPAGATE( add_module( NULL, & net_globals.modules, DP8390_NAME, DP8390_FILENAME, SERVICE_DP8390, 0, connect_to_service )); |
ERROR_PROPAGATE( add_module( NULL, & net_globals.modules, ETHERNET_NAME, ETHERNET_FILENAME, SERVICE_ETHERNET, 0, connect_to_service )); |
122,8 → 117,6 |
ERROR_PROPAGATE( ip_initialize( client_connection )); |
ERROR_PROPAGATE( REGISTER_ME( SERVICE_ARP, & phonehash )); |
ERROR_PROPAGATE( arp_initialize( client_connection )); |
// ERROR_PROPAGATE( REGISTER_ME( SERVICE_RARP, & phonehash )); |
// ERROR_PROPAGATE( rarp_initialize( client_connection )); |
ERROR_PROPAGATE( REGISTER_ME( SERVICE_ICMP, & phonehash )); |
ERROR_PROPAGATE( icmp_initialize( client_connection )); |
ERROR_PROPAGATE( REGISTER_ME( SERVICE_UDP, & phonehash )); |