Changeset 24ab58b3 in mainline for uspace/srv/net/nil/eth/eth_module.c
- Timestamp:
- 2010-04-06T11:41:48Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 14f1db0
- Parents:
- 4dd8529
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/eth/eth_module.c
r4dd8529 r24ab58b3 46 46 #include <net_interface.h> 47 47 #include <packet/packet.h> 48 #include <nil_module.h> 48 49 #include <nil_standalone.h> 49 50 … … 79 80 } 80 81 81 /** Passes the parameters to the module specific nil_message() function. 82 * @param[in] callid The message identifier. 83 * @param[in] call The message parameters. 84 * @param[out] answer The message answer parameters. 85 * @param[out] answer_count The last parameter for the actual answer in the answer parameter. 86 * @returns EOK on success. 87 * @returns ENOTSUP if the message is not known. 88 * @returns Other error codes as defined for each specific module message function. 82 /** Pass the parameters to the module specific nil_message() function. 83 * 84 * @param[in] name Module name. 85 * @param[in] callid The message identifier. 86 * @param[in] call The message parameters. 87 * @param[out] answer The message answer parameters. 88 * @param[out] answer_count The last parameter for the actual answer 89 * in the answer parameter. 90 * 91 * @return EOK on success. 92 * @return ENOTSUP if the message is not known. 93 * @return Other error codes as defined for each 94 * specific module message function. 95 * 89 96 */ 90 int nil_module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){ 91 return nil_message(callid, call, answer, answer_count); 97 int nil_module_message(const char *name, ipc_callid_t callid, ipc_call_t *call, 98 ipc_call_t *answer, int *answer_count) 99 { 100 return nil_message(name, callid, call, answer, answer_count); 92 101 } 93 102
Note:
See TracChangeset
for help on using the changeset viewer.