102,8 → 102,8 |
}; |
|
/** Finds the device specific data. |
* @param device_id The device identifier. Input parameter. |
* @param device The device specific data. Output parameter. |
* @param[in] device_id The device identifier. |
* @param[out] device The device specific data. |
* @returns EOK on success. |
* @returns ENOENT if device is not found. |
* @returns EPERM if the device is not initialized. |
111,18 → 111,18 |
int find_device( device_id_t device_id, device_ref * device ); |
|
/** Clears the usage statistics. |
* @param stats The usage statistics. Input parameter. |
* @param[in] stats The usage statistics. |
*/ |
void null_device_stats( device_stats_ref stats ); |
|
// prepared for future optimalizations |
/** Releases the given packet. |
* @param packet_id The packet identifier. Input parameter. |
* @param[in] packet_id The packet identifier. |
*/ |
void netif_pq_release( packet_id_t packet_id ); |
|
/** Allocates new packet to handle the given content size. |
* @param content The minimum content size. Input parameter. |
* @param[in] content The minimum content size. |
* @returns The allocated packet. |
* @returns NULL if there is an error. |
*/ |
129,10 → 129,10 |
packet_t netif_packet_get_1( size_t content ); |
|
/** Processes the netif module messages. |
* @param callid The message identifier. Input parameter. |
* @param call The message parameters. Input parameter. |
* @param answer The message answer parameters. Output parameter. |
* @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter. |
* @param[in] callid The message identifier. |
* @param[in] call The message parameters. |
* @param[out] answer The message answer parameters. |
* @param[out] answer_count The last parameter for the actual answer in the answer parameter. |
* @returns EOK on success. |
* @returns ENOTSUP if the message is not known. |
* @returns Other error codes as defined for each specific module message function. |
143,7 → 143,7 |
|
/** Initializes the netif module. |
* The function has to be defined in each module. |
* @param client_connection The client connection functio to be registered. Input parameter. |
* @param[in] client_connection The client connection functio to be registered. |
* @returns EOK on success. |
* @returns Other error codes as defined for each specific module message function. |
*/ |