Rev 3886 | Rev 3914 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3886 | Rev 3901 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | #include <ipc/services.h> |
40 | #include <ipc/services.h> |
41 | 41 | ||
42 | #include "../../err.h" |
42 | #include "../../err.h" |
43 | #include "../../modules.h" |
43 | #include "../../modules.h" |
44 | 44 | ||
- | 45 | #include "../../structures/packet/packet.h" |
|
- | 46 | ||
45 | #include "../../include/protocols.h" |
47 | #include "../../include/protocols.h" |
46 | 48 | ||
47 | #include "tcp.h" |
49 | #include "tcp.h" |
48 | #include "tcp_module.h" |
50 | #include "tcp_module.h" |
49 | 51 | ||
Line 64... | Line 66... | ||
64 | ipcarg_t phonehash; |
66 | ipcarg_t phonehash; |
65 | 67 | ||
66 | async_set_client_connection( client_connection ); |
68 | async_set_client_connection( client_connection ); |
67 | tcp_globals.networking_phone = connect_to_service( SERVICE_NETWORKING ); |
69 | tcp_globals.networking_phone = connect_to_service( SERVICE_NETWORKING ); |
68 | tcp_globals.ip_phone = bind_service( SERVICE_IP, IPPROTO_TCP, 0, 0, client_connection ); |
70 | tcp_globals.ip_phone = bind_service( SERVICE_IP, IPPROTO_TCP, 0, 0, client_connection ); |
- | 71 | ERROR_PROPAGATE( pm_init()); |
|
69 | ERROR_PROPAGATE( tcp_initialize()); |
72 | ERROR_PROPAGATE( tcp_initialize()); |
70 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_TCP, & phonehash )); |
73 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_TCP, & phonehash )); |
71 | 74 | ||
72 | async_manager(); |
75 | async_manager(); |
73 | 76 |