Ignore:
File:
1 edited

Legend:

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

    rfe8dfa6 r404dbae  
    3333/** @file
    3434 * Network interface layer interface implementation for remote modules.
    35  * @see nil_remote.h
     35 * @see nil_interface.h
    3636 */
    3737
    3838#include <nil_remote.h>
     39#include <nil_interface.h>
    3940#include <generic.h>
    4041#include <net/device.h>
    4142#include <net/packet.h>
    4243#include <packet_client.h>
     44
    4345#include <ipc/nil.h>
    4446
    4547/** Notify the network interface layer about the device state change.
    4648 *
    47  * @param[in] nil_phone Network interface layer phone.
    48  * @param[in] device_id Device identifier.
    49  * @param[in] state     New device state.
    50  *
    51  * @return EOK on success.
    52  * @return Other error codes as defined for each specific module
    53  *         device state function.
    54  *
     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.
    5555 */
    56 int nil_device_state_msg(int nil_phone, device_id_t device_id, int state)
     56int nil_device_state_msg_remote(int nil_phone, device_id_t device_id, int state)
    5757{
    5858        return generic_device_state_msg_remote(nil_phone, NET_NIL_DEVICE_STATE,
     
    6565 * upper layers.
    6666 *
    67  * @param[in] nil_phone Network interface layer phone.
    68  * @param[in] device_id Source device identifier.
    69  * @param[in] packet    Received packet or the received packet queue.
    70  * @param[in] target    Target service. Ignored parameter.
    71  *
    72  * @return EOK on success.
    73  * @return Other error codes as defined for each specific module
    74  *         received function.
    75  *
     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.
    7674 */
    77 int nil_received_msg(int nil_phone, device_id_t device_id,
    78     packet_t *packet, services_t target)
     75int nil_received_msg_remote(int nil_phone, device_id_t device_id,
     76    packet_t packet, services_t target)
    7977{
    8078        return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED,
Note: See TracChangeset for help on using the changeset viewer.