Rev 3912 | Rev 4197 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3912 | Rev 3914 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | #include <ipc/services.h> |
44 | #include <ipc/services.h> |
45 | 45 | ||
46 | #include "../../err.h" |
46 | #include "../../err.h" |
47 | #include "../../modules.h" |
47 | #include "../../modules.h" |
48 | 48 | ||
- | 49 | #include "../../structures/packet/packet.h" |
|
- | 50 | ||
49 | #include "arp.h" |
51 | #include "arp.h" |
50 | #include "arp_module.h" |
52 | #include "arp_module.h" |
51 | 53 | ||
52 | /** ARP module name. |
54 | /** ARP module name. |
53 | */ |
55 | */ |
Line 80... | Line 82... | ||
80 | 82 | ||
81 | ipcarg_t phonehash; |
83 | ipcarg_t phonehash; |
82 | 84 | ||
83 | async_set_client_connection( client_connection ); |
85 | async_set_client_connection( client_connection ); |
84 | arp_globals.networking_phone = connect_to_service( SERVICE_NETWORKING ); |
86 | arp_globals.networking_phone = connect_to_service( SERVICE_NETWORKING ); |
85 | ERROR_PROPAGATE( arp_initialize()); |
87 | ERROR_PROPAGATE( pm_init()); |
- | 88 | if( ERROR_OCCURRED( arp_initialize()) |
|
86 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_ARP, & phonehash )); |
89 | || ERROR_OCCURRED( REGISTER_ME( SERVICE_ARP, & phonehash ))){ |
- | 90 | pm_destroy(); |
|
- | 91 | return ERROR_CODE; |
|
- | 92 | } |
|
87 | 93 | ||
88 | async_manager(); |
94 | async_manager(); |
89 | 95 | ||
- | 96 | pm_destroy(); |
|
90 | return EOK; |
97 | return EOK; |
91 | } |
98 | } |
92 | 99 | ||
93 | /** @} |
100 | /** @} |
94 | */ |
101 | */ |