Changeset a8ca1d81 in mainline
- Timestamp:
- 2010-10-17T21:34:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a609e0
- Parents:
- 404dbae
- Location:
- uspace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/il_local.h
r404dbae ra8ca1d81 27 27 */ 28 28 29 /** @addtogroup il_local30 * 29 /** @addtogroup libnet 30 * @{ 31 31 */ 32 32 33 #ifndef __IL_LOCAL_H__34 #define __IL_LOCAL_H__33 #ifndef LIBNET_IL_LOCAL_H_ 34 #define LIBNET_IL_LOCAL_H_ 35 35 36 36 #include <ipc/ipc.h> 37 37 #include <async.h> 38 38 39 /** Processes the Internet layer module message. 40 * 41 * @param[in] callid The message identifier. 42 * @param[in] call The message parameters. 43 * @param[out] answer The message answer parameters. 44 * @param[out] answer_count The last parameter for the actual answer in 45 * the answer parameter. 46 * @returns EOK on success. 47 * @returns Other error codes as defined for the arp_message() 48 * function. 49 */ 39 50 extern int il_module_message_standalone(ipc_callid_t callid, ipc_call_t *call, 40 51 ipc_call_t *answer, int *answer_count); 52 53 /** Starts the Internet layer module. 54 * 55 * Initializes the client connection servicing function, initializes the module, 56 * registers the module service and starts the async manager, processing IPC 57 * messages in an infinite loop. 58 * 59 * @param[in] client_connection The client connection processing function. The 60 * module skeleton propagates its own one. 61 * @returns EOK on successful module termination. 62 * @returns Other error codes as defined for the arp_initialize() 63 * function. 64 * @returns Other error codes as defined for the REGISTER_ME() macro 65 * function. 66 */ 41 67 extern int il_module_start_standalone(async_client_conn_t client_connection); 42 68 -
uspace/srv/net/il/arp/arp_module.c
r404dbae ra8ca1d81 57 57 extern arp_globals_t arp_globals; 58 58 59 /** Processes the ARP message.60 * @param[in] callid The message identifier.61 * @param[in] call The message parameters.62 * @param[out] answer The message answer parameters.63 * @param[out] answer_count The last parameter for the actual answer in the answer parameter.64 * @returns EOK on success.65 * @returns Other error codes as defined for the arp_message() function.66 */67 59 int il_module_message_standalone(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){ 68 60 return arp_message_standalone(callid, call, answer, answer_count); 69 61 } 70 62 71 /** Starts the ARP module.72 * Initializes the client connection serving function, initializes the module, registers the module service and starts the async manager, processing IPC messages in an infinite loop.73 * @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.74 * @returns EOK on successful module termination.75 * @returns Other error codes as defined for the arp_initialize() function.76 * @returns Other error codes as defined for the REGISTER_ME() macro function.77 */78 63 int il_module_start_standalone(async_client_conn_t client_connection){ 79 64 ERROR_DECLARE; -
uspace/srv/net/il/ip/ip_module.c
r404dbae ra8ca1d81 56 56 extern ip_globals_t ip_globals; 57 57 58 /** Processes the IP message.59 * @param[in] callid The message identifier.60 * @param[in] call The message parameters.61 * @param[out] answer The message answer parameters.62 * @param[out] answer_count The last parameter for the actual answer in the answer parameter.63 * @returns EOK on success.64 * @returns Other error codes as defined for the ip_message() function.65 */66 58 int il_module_message_standalone(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){ 67 59 return ip_message_standalone(callid, call, answer, answer_count); 68 60 } 69 61 70 /** Starts the IP module.71 * Initializes the client connection serving function, initializes the module, registers the module service and starts the async manager, processing IPC messages in an infinite loop.72 * @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.73 * @returns EOK on successful module termination.74 * @returns Other error codes as defined for the ip_initialize() function.75 * @returns Other error codes as defined for the REGISTER_ME() macro function.76 */77 62 int il_module_start_standalone(async_client_conn_t client_connection){ 78 63 ERROR_DECLARE;
Note:
See TracChangeset
for help on using the changeset viewer.