Rev 4695 | Rev 4708 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4695 | Rev 4707 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | #include "../structures/module_map.h" |
47 | #include "../structures/module_map.h" |
48 | #include "../structures/packet/packet_server.h" |
48 | #include "../structures/packet/packet_server.h" |
49 | 49 | ||
50 | #include "../il/arp/arp_module.h" |
50 | #include "../il/arp/arp_module.h" |
51 | #include "../il/ip/ip_module.h" |
51 | #include "../il/ip/ip_module.h" |
- | 52 | #include "../il/icmp/icmp_module.h" |
|
52 | #include "../tl/udp/udp_module.h" |
53 | #include "../tl/udp/udp_module.h" |
53 | #include "../tl/tcp/tcp_module.h" |
54 | #include "../tl/tcp/tcp_module.h" |
54 | 55 | ||
55 | #include "net.h" |
56 | #include "net.h" |
56 | 57 | ||
Line 79... | Line 80... | ||
79 | return ip_message( callid, call, answer, answer_count ); |
80 | return ip_message( callid, call, answer, answer_count ); |
80 | }else if( IS_NET_ARP_MESSAGE( call )){ |
81 | }else if( IS_NET_ARP_MESSAGE( call )){ |
81 | return arp_message( callid, call, answer, answer_count ); |
82 | return arp_message( callid, call, answer, answer_count ); |
82 | /* }else if( IS_NET_RARP_MESSAGE( call )){ |
83 | /* }else if( IS_NET_RARP_MESSAGE( call )){ |
83 | return rarp_message( callid, call, answer, answer_count ); |
84 | return rarp_message( callid, call, answer, answer_count ); |
84 | }else if( IS_NET_ICMP_MESSAGE( call )){ |
85 | */ }else if( IS_NET_ICMP_MESSAGE( call )){ |
85 | return icmp_message( callid, call, answer, answer_count ); |
86 | return icmp_message( callid, call, answer, answer_count ); |
86 | */ }else if( IS_NET_UDP_MESSAGE( call )){ |
87 | }else if( IS_NET_UDP_MESSAGE( call )){ |
87 | return udp_message( callid, call, answer, answer_count ); |
88 | return udp_message( callid, call, answer, answer_count ); |
88 | }else if( IS_NET_TCP_MESSAGE( call )){ |
89 | }else if( IS_NET_TCP_MESSAGE( call )){ |
89 | return tcp_message( callid, call, answer, answer_count ); |
90 | return tcp_message( callid, call, answer, answer_count ); |
90 | }else{ |
91 | }else{ |
91 | if( IS_NET_PACKET_MESSAGE( call )){ |
92 | if( IS_NET_PACKET_MESSAGE( call )){ |
Line 119... | Line 120... | ||
119 | ERROR_PROPAGATE( ip_initialize( client_connection )); |
120 | ERROR_PROPAGATE( ip_initialize( client_connection )); |
120 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_ARP, & phonehash )); |
121 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_ARP, & phonehash )); |
121 | ERROR_PROPAGATE( arp_initialize( client_connection )); |
122 | ERROR_PROPAGATE( arp_initialize( client_connection )); |
122 | // ERROR_PROPAGATE( REGISTER_ME( SERVICE_RARP, & phonehash )); |
123 | // ERROR_PROPAGATE( REGISTER_ME( SERVICE_RARP, & phonehash )); |
123 | // ERROR_PROPAGATE( rarp_initialize( client_connection )); |
124 | // ERROR_PROPAGATE( rarp_initialize( client_connection )); |
124 | // ERROR_PROPAGATE( REGISTER_ME( SERVICE_ICMP, & phonehash )); |
125 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_ICMP, & phonehash )); |
125 | // ERROR_PROPAGATE( icmp_initialize( client_connection )); |
126 | ERROR_PROPAGATE( icmp_initialize( client_connection )); |
126 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_UDP, & phonehash )); |
127 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_UDP, & phonehash )); |
127 | ERROR_PROPAGATE( udp_initialize( client_connection )); |
128 | ERROR_PROPAGATE( udp_initialize( client_connection )); |
128 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_TCP, & phonehash )); |
129 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_TCP, & phonehash )); |
129 | ERROR_PROPAGATE( tcp_initialize( client_connection )); |
130 | ERROR_PROPAGATE( tcp_initialize( client_connection )); |
130 | return EOK; |
131 | return EOK; |