Changeset 4687a26c in mainline for uspace/lib/net/nil/nil_remote.c


Ignore:
Timestamp:
2010-11-02T18:29:01Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f35b9ff
Parents:
76e1121f (diff), 28f4adb (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r76e1121f r4687a26c  
    2727 */
    2828
    29 /** @addtogroup net_nil
     29/** @addtogroup libnet
    3030 * @{
    3131 */
     
    3636 */
    3737
    38 #include <net_messages.h>
    39 #include <net_device.h>
     38#include <nil_remote.h>
    4039#include <nil_interface.h>
    41 #include <packet/packet.h>
    42 #include <packet/packet_client.h>
    43 #include <nil_messages.h>
    44 #include <nil_remote.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>
    4546
    4647/** Notify the network interface layer about the device state change.
    4748 *
    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  *
     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.
    5655 */
    5756int nil_device_state_msg_remote(int nil_phone, device_id_t device_id, int state)
     
    6665 * upper layers.
    6766 *
    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  *
     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.
    7774 */
    7875int nil_received_msg_remote(int nil_phone, device_id_t device_id,
    7976    packet_t packet, services_t target)
    8077{
    81         return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED, device_id,
    82             packet_get_id(packet), target, 0);
     78        return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED,
     79            device_id, packet_get_id(packet), target, 0);
    8380}
    8481
Note: See TracChangeset for help on using the changeset viewer.