Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/nil/nil_remote.c

    r404dbae r14f1db0  
    2727 */
    2828
    29 /** @addtogroup libnet
     29/** @addtogroup net_nil
    3030 * @{
    3131 */
     
    3636 */
    3737
     38#include <net_messages.h>
     39#include <net_device.h>
     40#include <nil_interface.h>
     41#include <packet/packet.h>
     42#include <packet/packet_client.h>
     43#include <nil_messages.h>
    3844#include <nil_remote.h>
    39 #include <nil_interface.h>
    40 #include <generic.h>
    41 #include <net/device.h>
    42 #include <net/packet.h>
    43 #include <packet_client.h>
    44 
    45 #include <ipc/nil.h>
    4645
    4746/** Notify the network interface layer about the device state change.
    4847 *
    49  * @param[in] nil_phone The network interface layer phone.
    50  * @param[in] device_id The device identifier.
    51  * @param[in] state     The new device state.
    52  * @return              EOK on success.
    53  * @return              Other error codes as defined for each specific module
    54  *                      device state function.
     48 * @param[in] nil_phone The network interface layer phone.
     49 * @param[in] device_id The device identifier.
     50 * @param[in] state     The new device state.
     51 *
     52 * @return EOK on success.
     53 * @return Other error codes as defined for each specific module device
     54 *         state function.
     55 *
    5556 */
    5657int nil_device_state_msg_remote(int nil_phone, device_id_t device_id, int state)
     
    6566 * upper layers.
    6667 *
    67  * @param[in] nil_phone The network interface layer phone.
    68  * @param[in] device_id The source device identifier.
    69  * @param[in] packet    The received packet or the received packet queue.
    70  * @param target        The target service. Ignored parameter.
    71  * @return              EOK on success.
    72  * @return              Other error codes as defined for each specific module
    73  *                      received function.
     68 * @param[in] nil_phone The network interface layer phone.
     69 * @param[in] device_id The source device identifier.
     70 * @param[in] packet    The received packet or the received packet queue.
     71 * @param     target    The target service. Ignored parameter.
     72 *
     73 * @return EOK on success.
     74 * @return Other error codes as defined for each specific module
     75 *         received function.
     76 *
    7477 */
    7578int nil_received_msg_remote(int nil_phone, device_id_t device_id,
    7679    packet_t packet, services_t target)
    7780{
    78         return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED,
    79             device_id, packet_get_id(packet), target, 0);
     81        return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED, device_id,
     82            packet_get_id(packet), target, 0);
    8083}
    8184
Note: See TracChangeset for help on using the changeset viewer.