Changeset dfda6a1 in mainline for uspace/srv
- Timestamp:
- 2010-10-23T20:28:55Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc8d91a
- Parents:
- 33dbbd2 (diff), 018d79b8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/srv/net
- Files:
-
- 5 edited
-
il/arp/arp_module.c (modified) (1 diff)
-
il/ip/ip.c (modified) (2 diffs)
-
il/ip/ip_module.c (modified) (1 diff)
-
nil/eth/eth_module.c (modified) (2 diffs)
-
nil/nildummy/nildummy_module.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp_module.c
r33dbbd2 rdfda6a1 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.c
r33dbbd2 rdfda6a1 67 67 #include <ip_client.h> 68 68 #include <ip_interface.h> 69 #include <ip_header.h> 69 70 #include <net_interface.h> 70 71 #include <nil_interface.h> … … 77 78 78 79 #include "ip.h" 79 #include "ip_header.h"80 80 #include "ip_module.h" 81 81 #include "ip_local.h" -
uspace/srv/net/il/ip/ip_module.c
r33dbbd2 rdfda6a1 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; -
uspace/srv/net/nil/eth/eth_module.c
r33dbbd2 rdfda6a1 50 50 #include "eth.h" 51 51 52 /** Starts the Ethernet module.53 * 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.54 * @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.55 * @returns EOK on success.56 * @returns Other error codes as defined for the pm_init() function.57 * @returns Other error codes as defined for the nil_initialize() function.58 * @returns Other error codes as defined for the REGISTER_ME() macro function.59 */60 52 int nil_module_start_standalone(async_client_conn_t client_connection) 61 53 { … … 79 71 } 80 72 81 /** Pass the parameters to the module specific nil_message() function.82 *83 * @param[in] name Module name.84 * @param[in] callid The message identifier.85 * @param[in] call The message parameters.86 * @param[out] answer The message answer parameters.87 * @param[out] answer_count The last parameter for the actual answer88 * in the answer parameter.89 *90 * @return EOK on success.91 * @return ENOTSUP if the message is not known.92 * @return Other error codes as defined for each93 * specific module message function.94 *95 */96 73 int nil_module_message_standalone(const char *name, ipc_callid_t callid, ipc_call_t *call, 97 74 ipc_call_t *answer, int *answer_count) -
uspace/srv/net/nil/nildummy/nildummy_module.c
r33dbbd2 rdfda6a1 50 50 #include "nildummy.h" 51 51 52 /** Start the dummy nil module.53 *54 * Initialize the client connection serving function, initialize55 * the module, register the module service and start the async56 * manager, processing IPC messages in an infinite loop.57 *58 * @param[in] client_connection The client connection processing59 * function. The module skeleton propagates60 * its own one.61 *62 * @return EOK on success.63 * @return Other error codes as defined for the pm_init() function.64 * @return Other error codes as defined for the nil_initialize() function.65 * @return Other error codes as defined for the REGISTER_ME() macro function.66 *67 */68 52 int nil_module_start_standalone(async_client_conn_t client_connection) 69 53 { … … 87 71 } 88 72 89 /** Pass the parameters to the module specific nil_message() function.90 *91 * @param[in] name Module name.92 * @param[in] callid The message identifier.93 * @param[in] call The message parameters.94 * @param[out] answer The message answer parameters.95 * @param[out] answer_count The last parameter for the actual answer96 * in the answer parameter.97 *98 * @return EOK on success.99 * @return ENOTSUP if the message is not known.100 * @return Other error codes as defined for each specific101 * module message function.102 *103 */104 73 int nil_module_message_standalone(const char *name, ipc_callid_t callid, 105 74 ipc_call_t *call, ipc_call_t *answer, int *answer_count)
Note:
See TracChangeset
for help on using the changeset viewer.
